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.
          PUT
        • Update cycle of documents.
          PUT
        • Update documents.
          PUT
        • Update Single Document
          PATCH
    • 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.
        • 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 payment instances of documents.

Testing
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
PUT
/documents/payment-instances
apipagosupdatedocuments12payment-instances12
Update payment instances of documents.

Request

Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Header Params
Accept
string 
optional
Example:
application/json
Body Params application/json
document_code
string 
required
field_1
string 
optional
field_2
string 
optional
field_3
string 
optional
amount
integer 
optional
Example
{
  "document_code": "84",
  "field_1": "proident",
  "field_2": "pariatur ex Ut",
  "field_3": "ullamco dolor et in",
  "amount": 553
}

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/documents/payment-instances' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '{
    "document_code": "84",
    "field_1": "proident",
    "field_2": "pariatur ex Ut",
    "field_3": "ullamco dolor et in",
    "amount": 553
}'

Responses

🟢200OK
application/json
Body
object {0}
Example
{}
Previous
Display the specified document.
Next
Update cycle of documents.
Built with