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.
          PUT
        • Update single refund
          PATCH
    • 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.
        • Update Single Transaction
    • 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 refunds.

Testing
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
PUT
/refunds
Update refunds.

Request

Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Header Params

Body Params application/json

Example
[
    {
        "code": "2f834d357f033cc9f7e679a041c6e60d",
        "description": null,
        "name": "Reintegro de Haberes Netos",
        "title": "Reintegro de Haberes Netos",
        "status_code": 1,
        "batch": "NORMAL - 202208",
        "transaction_type": "10",
        "token": "0140415303610056915084",
        "amount": "1527620.77",
        "refund_date": null,
        "scheduled_date": "2024-11-11 07:11:49",
        "field_1": "003162",
        "field_2": "0122",
        "field_3": "20128809008"
    }
]

Request Code 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 PUT 'https://api.test.apipagos.com/api/v2/apipagos/refunds' \
--header 'Accept: application/json' \
--header 'Company-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "code": "2f834d357f033cc9f7e679a041c6e60d",
        "description": null,
        "name": "Reintegro de Haberes Netos",
        "title": "Reintegro de Haberes Netos",
        "status_code": 1,
        "batch": "NORMAL - 202208",
        "transaction_type": "10",
        "token": "0140415303610056915084",
        "amount": "1527620.77",
        "refund_date": null,
        "scheduled_date": "2024-11-11 07:11:49",
        "field_1": "003162",
        "field_2": "0122",
        "field_3": "20128809008"
    }
]'

Responses

🟢200OK
application/json
Body

Example
[
    {
        "code": "sint sunt",
        "description": "Sint in tenetur laboriosam esse aperiam modi. Iure doloribus et veritatis totam non. Voluptates accusantium numquam ipsam. Voluptas ipsa cupiditate labore repellendus.",
        "name": "natus inventore perferendis",
        "config_code": "est",
        "title": "suscipit illum nobis",
        "status_code": 1,
        "batch": "non ut reprehenderit ipsum consequat",
        "transaction_type": "withdrawal",
        "token": "adipisicing deserunt cillum",
        "amount": 85881791.80949286,
        "refund_date": "2024-03-14T03:46:39.432Z",
        "scheduled_date": "2024-03-14T06:53:58.744Z",
        "field_1": "elit adipisicing deserunt",
        "field_2": "cillum sint",
        "field_3": "et occaecat elit voluptate"
    }
]
Modified atĀ 2024-11-11 19:52:55
Previous
Create new refunds.
Next
Update single refund
Built with