Fetch a single transaction
Listen for the webhook
When a charge succeeds, Nomba sends apayment_success webhook to your webhook URL, with the same structure as the first payment. When a charge fails, Nomba sends payment_failed. Match the webhook to the charge by data.order.orderReference.
data.order.isTokenizedCardPayment is "true" (a string) for a charge on a saved card, and "false" for the first, card-saving payment. Use it to tell renewals apart from first payments in your webhook handler.
Nomba retries a webhook if your server doesnβt respond with a 2xx status, so the same event can arrive more than once. Give value only once for each orderReference.
GET /v1/transactions/accounts/single
Look up the charge by your orderReference. For other ways to look up a transaction, see Verify transactions.
Headers
string
required
Bearer <access_token>string
required
Your account ID
Query parameters
string
required
The
orderReference you sent with the chargeResponse body
string
required
"SUCCESS" when the charge succeededstring
required
The transaction amount
string
required
Your
orderReferencedata.statusis"SUCCESS".data.onlineCheckoutOrderReferencematches theorderReferenceyou charged.- The amount matches the amount you charged.
Manage saved cards
List a customerβs saved cards, change the email linked to a card, or delete a card.