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
| Field | Type | Description | |||
|---|---|---|---|---|---|
reference | string | Your payment reference | |||
status | string | pending | success | failed | refunded |
amountKobo | number | Amount in kobo | |||
paidAt | string | null | ISO 8601 timestamp of payment, or null if unpaid |
