Create P2P Payin Transaction
Create a new P2P payin transaction. This is a redirect-based payment flow where the user is redirected to the payment provider's page to complete the payment. After completion, the user is redirected back to the return_url and a callback is sent to your server.
Create a new P2P payin transaction. This is a redirect-based payment flow where the user is redirected to the payment provider's page to complete the payment. After completion, the user is redirected back to the return_url and a callback is sent to your server.
Authorization
BearerAuth Merchant API key in the form Bearer sk_<token>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/payments/p2p/payin" \ -H "Content-Type: application/json" \ -d '{ "money": { "amount": 0 }, "merchant_order_no": "string", "redirect_url": "string", "user_details": {} }'{
"success": true,
"payment_id": "string",
"payment_url": "string",
"amount": 0,
"currency": "string",
"message": "string"
}{
"status": false,
"error": {
"code": 0,
"error_code": null,
"message": "string",
"metadata": null
}
}{
"status": false,
"error": {
"code": 0,
"error_code": null,
"message": "string",
"metadata": null
}
}{
"status": false,
"error": {
"code": 0,
"error_code": null,
"message": "string",
"metadata": null
}
}{
"status": false,
"error": {
"code": 0,
"error_code": null,
"message": "string",
"metadata": null
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}{
"status": false,
"error": {
"code": 0,
"error_code": null,
"message": "string",
"metadata": null
}
}Create Payout Transaction POST
Create a new payout transaction. You can add the user account details and we will initiate a transaction to the user's account. NOTE: ** Keep in mind that you need to have that amount in available balance in your wallet to initiate a payout transaction.**
Get Balance GET
Get total available INR balance across all providers for the merchant.