- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Update Single Transaction
Developing
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
PATCH
/transactions/{code}
Request
Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Path Params
code
string
required
Example:
ef3c3803fc2d32efa8a6d9d16b53430c
Body Params application/json
src_user_code
string
optional
dst_user_code
string
optional
currency_code
string
optional
amount
number
optional
wallet_code
string
optional
concept
string
optional
document_type_code
string
optional
status_code
integer
optional
scheduled_at
string
optional
gateway_code
string
optional
extra
object
optional
settlement_batch_code
string
optional
chargeback_batch_code
string
optional
payment_code
string
optional
cvu
string
optional
title
string
optional
concept
string
optional
json_1
string
optional
json_2
string
optional
due_dat
string
optional
Example
{
"src_user_code": "8",
"dst_user_code": "76",
"currency_code": "NGN",
"amount": 836.55,
"wallet_code": "9",
"concept": "enim magna",
"document_type_code": "64",
"status_code": 99,
"scheduled_at": "2025-04-01T06:05:33.034Z",
"gateway_code": "1",
"extra": {
"settlement_batch_code": "23",
"chargeback_batch_code": "9",
"payment_code": "31",
"cvu": "dolore consequat",
"title": "moment consequently alive sleet brr gently",
"concept": "consectetur et",
"json_1": "velit magna proident",
"json_2": "cupidatat dolore nisi",
"due_dat": "2025-04-01T17:59:09.843Z"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.test.apipagos.com/api/v2/apipagos/transactions/ef3c3803fc2d32efa8a6d9d16b53430c' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '{
"src_user_code": "8",
"dst_user_code": "76",
"currency_code": "NGN",
"amount": 836.55,
"wallet_code": "9",
"concept": "enim magna",
"document_type_code": "64",
"status_code": 99,
"scheduled_at": "2025-04-01T06:05:33.034Z",
"gateway_code": "1",
"extra": {
"settlement_batch_code": "23",
"chargeback_batch_code": "9",
"payment_code": "31",
"cvu": "dolore consequat",
"title": "moment consequently alive sleet brr gently",
"concept": "consectetur et",
"json_1": "velit magna proident",
"json_2": "cupidatat dolore nisi",
"due_dat": "2025-04-01T17:59:09.843Z"
}
}'
Responses
🟢200Success
application/json
Body
data
object
required
code
string
required
concept
string
required
currency_code
string
required
amount
integer
required
document_type_code
string
required
gateway
object
required
documents
array[string]
required
wallet_code
string
required
extra
object
required
process_id
integer
required
integrity_code
string
required
scheduled_at
string
required
controlled_at
string
required
accredited_at
null
required
reconciled_at
null
required
charged_back_at
null
required
approved_at
null
required
created_at
string
required
updated_at
string
required
Example
{
"data": {
"code": "abcd1234efgh5678ijkl9012mnop3456",
"concept": "cuota",
"currency_code": "ARS",
"amount": 500,
"document_type_code": "cuota",
"gateway": {
"code": "PFB",
"type": "PFB",
"title": "Pago Fácil",
"description": "Pago Fácil AutoPlan AutoSeguro",
"messages": {
"status": "",
"info": "",
"success": "",
"error": ""
},
"amount": {
"min": "0.00",
"max": "10000000.00"
},
"settlement_days": 0,
"settlement_prefix": "PF",
"settlement_suffix": "",
"default": 0,
"config": []
},
"documents": [],
"wallet_code": "demo",
"extra": {
"payment_method_code": "7890",
"settlement_batch_code": "PF_15042025__0",
"chargeback_batch_code": "batch7890",
"transaction_code": "abcd1234efgh5678ijkl9012mnop3456",
"payment_code": "7890",
"cvu": "009876543",
"title": "datos extra",
"concept": "concepto prueba",
"json_1": null,
"json_2": null,
"due_date": "2025-04-15 00:00:00",
"available_at": null
},
"process_id": 0,
"integrity_code": "123456abcdef7890abcdef1234567890abcdef12",
"scheduled_at": "2025-04-01T10:00:00.000000Z",
"controlled_at": "2025-03-28 08:00:00",
"accredited_at": null,
"reconciled_at": null,
"charged_back_at": null,
"approved_at": null,
"created_at": "2025-03-28 08:00:00",
"updated_at": "2025-05-05 11:00:00"
}
}
🔴500Server Error Response