935b62e16de4
EMI select
United Payments Interface (UPI) funds Equated Monthly Installments (EMI) for RuPay, an Indian card network.
Before calling this endpoint, you can call List cards to get the account_reference_number. You should also call Validate card to make sure the card data for the transfer request is genuine.
This endpoint generates a Payment methods authorization created event and a Platform authorization created event.
This operation is idempotent, meaning, it can be applied multiple times, yet the outcome remains the same. To guarantee this, the request has an external_transaction_id field, which must be unique by transaction type in the context of the same account reference number.
Headers
Account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a <b>401 Unauthorized</b> message.
Client consuming API.
Request body
Example request
{
"amount": 500,
"currency": "INR",
"account_reference_number": "12345600000000001140340134",
"external_transaction_datetime": "2020-09-15T19:39:54.013Z",
"external_transaction_id": "MGS584A1244F6BC4D50A3FABE6D93DF913C",
"original_external_transaction_id": "MGS584A1244F6BC4D50A3FABE6D93DF913C",
"emi_status": "DURING",
"mcc": "6012",
"merchant_name": "Cafe Coffee Day",
"phone": {
"country_code": "91",
"phone": "9592714958"
},
"transaction_type": "C",
"upi_reference_number": "165238546812",
"transaction_reference": "Lunch",
"credit_account_number": "98765004371",
"foreclose_data": {
"contract_amount": 122.98
},
"emi_data": {
"contract_amount": 122.98,
"principal_amount": 100.98,
"number_of_installments": 3,
"fees": [
{
"amount": 20.98,
"rate": 5.9
}
],
"taxes": [
{
"amount": 20.98,
"rate": 5.9
}
],
"interests": [
{
"amount": 20.98,
"rate": 5.9
}
],
"installments": [
{
"contract_amount": 122.98,
"principal_amount": 100.98,
"number_of_installments": 3,
"fees": [
{
"amount": 20.98,
"rate": 5.9
}
],
"taxes": [
{
"amount": 20.98,
"rate": 5.9
}
],
"interests": [
{
"amount": 20.98,
"rate": 5.9
}
]
}
]
}
}Response
Emi created
Example response
{
"external_transaction_id": "MGS584A1244F6BC4D50A3FABE6D93DF913C",
"status": "PROCESSING",
"upi_reference_number": "165238546812",
"authorization_id": 2263052808,
"foreclose_data": {
"contract_amount": 122.98
},
"emi_data": {
"contract_amount": 122.98,
"principal_amount": 100.98,
"number_of_installments": 3,
"fees": [
{
"amount": 20.98,
"rate": 5.9
}
],
"taxes": [
{
"amount": 20.98,
"rate": 5.9
}
],
"interests": [
{
"amount": 20.98,
"rate": 5.9
}
],
"installments": [
{
"contract_amount": 122.98,
"principal_amount": 100.98,
"number_of_installments": 3,
"fees": [
{
"amount": 20.98,
"rate": 5.9
}
],
"taxes": [
{
"amount": 20.98,
"rate": 5.9
}
],
"interests": [
{
"amount": 20.98,
"rate": 5.9
}
]
}
]
}
}