GET
/
v1
/
checkout
/
transaction
curl --request GET \
  --url https://api.nomba.com/v1/checkout/transaction \
  --header 'Authorization: Bearer <token>' \
  --header 'accountId: <accountid>'
{
  "code": "00",
  "data": {
    "cardDetails": {
      "cardBank": "057",
      "cardCurrency": "NGN",
      "cardPan": "515123 **** **** 6667",
      "cardType": "Verve"
    },
    "message": "success",
    "order": {
      "accountId": "56e03654-0c32-4d3e-bbd6-a9df22994a12",
      "amount": "10000.00",
      "callbackUrl": "https://ip:port/merchant.com/callback",
      "currency": "NGN",
      "customerEmail": "[email protected]",
      "customerId": "762878332454",
      "orderId": "56e03654-0c32-4d3e-bbd6-a9df22994a12",
      "orderReference": "90e81e8a-bc14-4ebf-89c0-57da752cca58"
    },
    "success": "true",
    "transactionDetails": {
      "paymentReference": "5844858382134",
      "paymentVendorReference": "5844858382675493",
      "statusCode": "Payment approved",
      "tokenizedCardPayment": "true",
      "transactionDate": "2023-12-06T15:46:43.000Z"
    },
    "transferDetails": {
      "beneficiaryAccountName": "Tope Fade",
      "beneficiaryAccountNumber": "5844858382",
      "destinationInstitutionCode": "true",
      "narration": "Checkout payment",
      "originatorAccountName": "Femi Fash",
      "originatorAccountNumber": "3409082834",
      "paymentReference": "44384586756",
      "sessionId": "67584432178569543"
    }
  },
  "description": "Success"
}

Authorizations

Authorization
string
headerrequired

Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.

Headers

accountId
string
required

The parent accountId of the business.

Query Parameters

idType
enum<string>

Checkout id type to use for this query. Valid values are the 'ORDER_REFERENCE', to use Order reference passed in when generating the checkout link, and 'ORDER_ID' to use the uuid value returned in the checkout link path.

Available options:
ORDER_ID,
ORDER_REFERENCE
id
string

Checkout transaction id based on the value selected in the idType parameter

Response

200 - application/json
code
string

Response Code

data
object
description
string

response description