Digital money
API URL
https://paysys.uz/gateway
Payment on digital wallet
Method's name: pam.pay_by_cash
Authorization: requires
Request contains:
- vendor_form - Form with list of fields and their definition
Request example
{
"id": "1cb17690-9105-4a23-9868-f5006cda7724",
"method": "pam.pay_by_cash",
"params": {
"vendor_form": {
"account": "79123456789",
"currency": "USD",
"amount": 12000,
"vendor_id": 101596
}
}
}
Response contains:
- details - Object with details of made payment
- id - Transitional request identifier
- masked_card_number - Card number (not available for this method )
- transaction_id - Transaction ID in the PaySys system
- bank_transaction_id - Transaction number in the PaySys system (not available for this method)
- reference_number - Processing center transaction ID (not available for this method)
- amount - Transaction amount in UZS
- merchantId - - Service provider ID in the system
UZCARD ONLINE
/HUMO
(not available for this method) - terminalId - Terminal ID in the system
UZCARD ONLINE
/HUMO
(not available for this method) - date - Creation date of transaction in seconds
- mx_id - Request tracker
Response example
{
"id": "1cb17690-9105-4a23-9868-f5006cda7724",
"error": null,
"result": {
"details": {
"id": "2b32d68e154573ec7b6d30d1f803c5a5",
"masked_card_number": null,
"transaction_id": 2355076,
"bank_transaction_id": null,
"reference_number": null,
"amount": 15000,
"merchantId": null,
"terminalId": null,
"date": 1653907664
}
}
}
In case of incorrect request parameters, system will return an error.
Check the payment status
Method's name: pam.check_payment
Authorization: requires
Request contains:
- agr_transaction_id - Payment ID in the PaySys system
Request example
{
"id": "21e2a489-0391-4335-8275-55ade9aa78c5",
"method": "pam.check_payment",
"params": {
"agr_transaction_id": 2355076
}
}
Response contains:
- bank_transaction_id - Payment ID
- amount - Transaction amount in UZS "bank_transaction_id": null, "bank_transaction_id": null,
- date - Creation date of transaction in seconds
- status - Payment status
2
- Completed payment1
- Awaiting payment0
- Payment is created-1
- Error - mx_id - Request tracker
Response example
{
"id": "21e2a489-0391-4335-8275-55ade9aa78c5",
"error": null,
"result": {
"result": {
"bank_transaction_id": null,
"amount": 15000,
"date": 1653907664,
"status": 2
}
}
}
In case of incorrect request parameters, system will return an [error](api-concepts#example-rpc-request-completed-with error).