Create a Payin Intent
Changed onCreates a new Payin Intent.
Request
- Base URLhttps://api.muralpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Organization ID to act on behalf of
Request body
Example request
{
"payinDetails": {
"amount": {
"currencySymbol": "COP",
"value": "1230000"
},
"descriptionToPayee": "Order #001",
"descriptionToPayer": "Order #001 payment",
"payerName": "Fernando Alonso"
}
}Response
Created Payin Intent
Example response
{
"payinStatus": {
"senderMetadata": {
"senderAccountNumber": "987654321",
"senderAccountType": "ahorros",
"senderBankCode": "1007",
"senderId": "1234567890",
"senderIdType": "cc",
"senderName": "Juan Perez"
}
},
"sourceAmount": {
"exponent": 2,
"value": "2500"
},
"settlementDetails": {
"amount": {
"exponent": 2,
"value": "2500"
}
},
"fees": {
"feeTotal": {
"exponent": 2,
"value": "2500"
},
"itemizedFees": {
"developerFee": {
"exponent": 2,
"value": "2500"
},
"fixedTransactionFee": {
"exponent": 2,
"value": "2500"
},
"variableFee": {
"exponent": 2,
"value": "2500"
}
}
},
"payinInstructions": {
"descriptionToPayer": "Order #001 payment",
"keyValue": "@CBF0JHIDU"
}
}Changes
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
added to the
response propertyoneOflist for the response status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
added the new
PayinMinimumNotMetErrorenum value to theresponse property for the response status - warning
added the new
TRONenum value to the///////response property for the response status - info
the
request property default value86400was added - info
the
request property default value86400was added - info
added the new
TRONenum value to the request property///// - info
added response discriminator for the response status
- info
added the non-success response with the status
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
removed the
SOLANAenum value from the////response property for the response status - info
removed the
SOLANAenum value from the////response property for the response status - info
removed the
SOLANAenum value from the////response property for the response status - info
removed the
SOLANAenum value from the////response property for the response status - info
removed the
SOLANAenum value from the////response property for the response status - info
removed the
SOLANAenum value from the//response property for the response status
- breaking