m2pfintech
API LibraryCredit Card

Create UPI Transaction

Creates debit, reversal, or refund transactions against the credit card account for merchant payments.

POST
/credit-upi/transaction/create

Header Parameters

TENANT*string

Tenant identifier for application identification. Provided by M2P during onboarding. Used in both UAT and production environments.

Request Body

application/json

txnId?string
currency?string
Default"INR"
channelId?string
request*object

Full UPI transaction request object

Response Body

application/json

curl -X POST "https://sandbox-upi-api.m2pfintech.com/credit-upi/transaction/create" \  -H "TENANT: PARTNER_XYZ" \  -H "Content-Type: application/json" \  -d '{    "request": {}  }'
{
  "result": {
    "statusCode": "string",
    "statusDescription": "string",
    "description": "string",
    "txnId": "string",
    "custRef": "string",
    "extTxnId": "string"
  },
  "exception": {},
  "pagination": {}
}