Deposit Transaction
This service has the function of receiving a Transaction Number and Amount in order to make a Deposit transaction only for VISA, MC, AMEX and DINERS brands.
Environment | EndPoint | Method |
Development | PUT | |
Production | PUT |
The Operation Number is received as a parameter in the URL:
Example: https://api.dev.alignet.io/charges/123456
Headers
Header | Value | Required |
ALG-API-VERSION | Versión del API a utilizar. Valores disponibles: 1618440906 | Yes |
Authorization | Bearer <Access_Token> | Yes |
"ALG-API-VERSION":"1618440906",
"Authorization":"Bearer GciOiJSUzI1NsInR5cCI6IkpXVCIsImt………",
Request
Parameter | Type | Long. | Description | Req. |
action | String (AN) | - | The intent of the trade. In this case it is "capture.modify" | Yes |
transaction.internal_operation_number | String (N) | 9 | Internal trade operation number. This parameter must also travel in the URL. | Yes |
transaction.currency | String (N) | 3 | Numeric currency code in ISO 4217 format. | Yes |
transaction.amount | String (N) | 15 | Amount of the transaction to be deposited. The last 2 digits are considered as decimal. | Yes |
{
"action": "capture.modify",
"transaction":{
"internal_operation_number":"123456",
"currency":"604",
"amount": "10300"
}
}
Response
Parameter | Description |
success | Result of the operation: True: processed successfully. False: not processed successfully. |
transaction.meta.internal_operation_number | Internal operation number of the client with which the Authorization was made. |
transaction.meta.currency | Numeric currency code in ISO 4217 format. |
transaction.meta.amount | Deposited amount of the transaction. |
transaction.meta.status.code | Process status code. |
transaction.meta.status.message_ilgn.locale | Regional settings defining language and country. |
transaction.meta.status.message_ilgn.value | Message resulting from the process |
{
"success":true,
"transaction":{
"meta":{
"internal_operation_number":"123456",
"currency":"604",
"amount":"10300",
"status":{
"code":"00",
"message_ilgn":[
{
"locale":"es_PE",
"value":"Se ejecutó correctamente el proceso."
}
]
}
}
}
Continue to Get Transaction ➡️