Skip to main content

TransactionResponse

referencestring
Example: PLS-9KQ2M7P3XR
clientReferencestring

The clientReference you sent when creating this purchase.

Example: order-1001
servicestring

Possible values: [Data, Airtime]

statusstring

Possible values: [Success, Failed, Processing]

networkstring
Example: MTN
planstringnullable

Plan name for data purchases; null for airtime.

Example: 1.0GB
mobileNumberstring
Example: 08030000000
priceChargedint64

In kobo.

Example: 27000
providerReferencestringnullable
createdOndate-time
completedOndate-timenullable

When the purchase reached a terminal state; null while Processing.

TransactionResponse
{
"reference": "PLS-9KQ2M7P3XR",
"clientReference": "order-1001",
"service": "Data",
"status": "Success",
"network": "MTN",
"plan": "1.0GB",
"mobileNumber": "08030000000",
"priceCharged": 27000,
"providerReference": "string",
"createdOn": "2024-07-29T15:51:28.071Z",
"completedOn": "2024-07-29T15:51:28.071Z"
}