Apipagos v2
  1. Update
Apipagos v2
  • Apipagos Extras
    • Cbu Cvu Validation
      GET
    • Credit Card Bin Validations
      GET
  • Apipagos Core
    • Contracts
      • Create
        • Create new contracts.
        • Create new contract extras.
      • Get
        • Display a listing of contracts.
        • Get contract by code or Id.
        • Get contract extra by ID.
      • Update
        • Updates contracts.
        • Updates contract extras.
        • Update single contract
    • Documents
      • Create
        • Create new documents.
        • Create documents new payment instances.
        • Create documents new life cycles.
      • Get
        • Display the life cycle of the document.
        • Display a listing of documents.
        • Display the payment instances of the document.
        • Display the specified document.
      • Update
        • Update payment instances of documents.
        • Update cycle of documents.
        • Update documents.
        • Update Single Document
    • Refunds
      • Get
        • Display a listing of refunds.
        • Get refunds by code.
      • Create
        • Create new refunds.
      • Update
        • Update refunds.
        • Update single refund
    • Subscriptions
      • Create
        • Create new subscriptions.
      • Get
        • Display a listing of subscriptions.
        • Get a subscription by code.
      • Update
        • Update subscriptions.
        • Update Single Subscription
    • Transactions
      • Create
        • Create new transactions.
      • Get
        • Display a listing of transactions.
        • Get a transaction by code.
      • Update
        • Update transactions.
          PUT
        • Update Single Transaction
          PATCH
    • Publications
      • Create
        • Create new publications
      • Get
        • Display a listing of publications.
        • Get publication by code.
    • Users
      • Create
        • Create new users.
        • Create new users fiscal data.
        • Create new users addresses.
        • Create new users identities.
        • Create new users payment methods.
      • Get
        • Display a listing of the users.
        • Get a user by code.
      • Update
        • Update users.
        • Update Single User
    • Location
      • Get Countries
      • Get Country Provinces
      • Get Province Locations
    • Tenant info
      GET
    • AFIP
      GET
  1. Update

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
Previous
Update transactions.
Next
Create new publications
Built with