Pay Utility
Pay Utility
Performs payments of consumer bills and tickets.
HTTP Request
POST
/wallets/{{walletId}}/utility
Key |
Value |
Content-Type |
application/json |
Accept |
application/json |
Authorization |
"bearer"+ "" + {{access_token}} |
PATH Parameters
Parameter |
Required |
Type |
Description |
walletId |
|
String |
The walletId which was returned by API createWallet |
JSON Body Parameters
Parameter |
Required |
Type |
Description |
externalIdentifier |
|
String |
Unique key to ensure idempotent requests |
digitableLine |
|
String |
Numeric representation of the bar code |
dueDate |
|
String |
The expire data for bill, format as YYYY-MM-DD |
amount |
|
String |
The transfer amount |
currency |
|
String |
The currency of the transferred fund |
Response Body Details
Parameter |
Type |
Description |
statusCode |
Integer |
200 Success, 401 Access denied, 422 Required fields missing or invalid data, 500 internal error |
errorMsg |
String |
error message if failed |
transactionId |
String |
The transaction id |
transferStatus |
String |
Transfer status, settled, in progress or failed |