π°Payment
Page description
To initiate a payment, please send a POST request to the following endpoint: https://{url}.finipay.kg/api/v1.1.0/mbank/pay
.
POST
https://{url}.finipay.kg/api/v1.1.0/mbank/pay
Request Body
orderNumber*
String
Unique payment ID
phone*
String
Payment details. For test environment: 996772140014
amount*
Integer
The amount of the request for funds
comment*
String
Payment description
callbackUrl
String
URL for callbacks is not required
{
"orderNumber": "order_1747200104390",
"phone": "996772140014",
"amount": 1,
"comment": "test",
"callbackUrl":"test"
}
β οΈ Recommendations for Order Number generation
To avoid failures in data transmission, storage and encryption, it is strongly recommended to exclude special characters from the order number.
Unacceptable characters for the order number:
! @ # $ % ^ & * ( ) _ + { } [ ] | \ : ; β ' < > , . ? / ~ \n \t π ζΌ’ε π₯
Note: Only:
- Latin letters (A-Z, a-z),
- numerals (0-9),
- hyphen - and underscore _ (if necessary and if supported by the system).
Examples of valid order numbers:
- ORDER-123456
- user_789_order
Examples of invalid numbers:
- ORDER#123! β
- orderπζΌ’επ₯ β
{
"code": "110",
"message": "CREATED",
"data": {
"amount": 1,
"quid": "FP20240319165056648",
"dateTime": "2024-03-19T16:50:58"
}
}
Confirm
after initializing the payment, you need to do confirm. As a result of the response to create, when the payment is successfully created, you get a quid that you need to drive into confirm
To do confirm, please send a POST request to the following endpoint: https://{url}.finipay.kg/api/v1.1.0/mbank/confirm
.
POST
https://{url}.finipay.kg/api/v1.1.0/mbank/confirm
Request Body
orderNumber*
String
Unique payment ID
otp*
String
a one-time password that you will receive to the specified phone number when initializing the payment. Test otp (0000)
{
"code": "120",
"message": "CONFIRMED",
"data": {
"quid": "FP20240319165056648",
"dateTime": "2024-03-19T16:53:05"
}
}
Last updated