Offline
Offline transaction API allows partners to record offline transactions such as Cash or Check deposits.
post
https://<PayEngine-host>
/api/payment/offline
Records and offline payment
Request
Response
Sample Request
1
{
2
"merchant_id": "23f0ca72-902c-4169-a018-e13b43e6ec57",
3
"data": {
4
"transactionAmount": "50.50",
5
"type": "CASH"
6
}
7
}
Copied!
1
{
2
"data": {
3
"ID": "27342e95-8fd6-42c0-bd0d-2f8d654c4e2a",
4
"TransactionID": "39596030-36a9-4121-b324-ba15b31b7c37",
5
"MerchantID": "b0ad3bfe-c7a1-4def-9840-6c8f2570d2ce"
6
}
7
}
Copied!
Webhook event: OFFLINE_SALE

Webhook Payload Example

1
{
2
event_uid: '36af1d0f07c60d2e272dee48d03ce885',
3
event: 'OFFLINE_SALE',
4
data: {
5
account_id: 'e90c1de6-4e87-4c9e-bcbc-c535d6e349ec',
6
payment_id: 'd9d003b5-4ac9-4521-968f-42bad2d4d251',
7
merchant_id: 'c404d923-226f-4aae-92da-22c1ef370434',
8
transaction_id: 'f497e258-fce3-4422-be30-8e223820be8f'
9
}
10
}
11
​
Copied!