Console →
SDK Reference

Verify a Payment

Successful payments are confirmed automatically via webhooks. Only use this method if you need to manually poll for payment status.
typescript
const result = await settle.payments.verify('ss_1234567890_abcdef')

console.log(result.status)
// 'pending' | 'success' | 'failed' | 'refunded'

Response fields#

FieldTypeDescription
referencestringYour payment reference
statusstringpendingsuccessfailedrefunded
amountKobonumberAmount in kobo
paidAtstringnullISO 8601 timestamp of payment, or null if unpaid