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
apipagosupdaterefunds12
Update refunds.

Request

Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Header Params
Accept
string 
optional
Example:
application/json
Body Params application/json
array of:
code
string <uuid>
write-onlyrequired
Examples:
fec96ba15d9ec591c1ba5a8983edadf3fec96ba15d9ec591c1ba5a8983edadf1fec96ba15d9ec591c1ba5a8983edadbc
description
string 
write-onlyoptional
Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
name
string 
optional
config_code
string 
optional
title
string 
optional
status_code
enum<integer> <int32>
write-onlyoptional
>= 0
Allowed values:
01234567891011121399
Default:
0
Examples:
01234567891011121399
batch
string 
optional
transaction_type
string 
optional
token
string 
optional
amount
number <float32>
write-onlyoptional
>= 0<= 10000
refund_date
string <date>
optional
scheduled_date
string <date>
optional
field_1
string 
optional
Match pattern:
[0-9]+
field_2
string 
optional
Match pattern:
[0-9]+
field_3
string 
optional
>= 11 characters<= 11 characters
Match pattern:
(20|23|24|25|26|27|30)[0-9]*
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 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 'Content-Type: application/json' \
--header 'Company-Token;' \
--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
array of:
name
string 
optional
config_code
string 
optional
title
string 
optional
batch
string 
optional
transaction_type
string 
optional
token
string 
optional
refund_date
string <date>
optional
scheduled_date
string <date>
optional
field_1
string 
optional
Match pattern:
[0-9]+
field_2
string 
optional
Match pattern:
[0-9]+
field_3
string 
optional
>= 11 characters<= 11 characters
Match pattern:
(20|23|24|25|26|27|30)[0-9]*
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"
  }
]
Previous
Create new refunds.
Next
Update single refund
Built with