Apipagos v2
  1. Get
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.
          GET
        • Display a listing of documents.
          GET
        • Display the payment instances of the document.
          GET
        • Display the specified document.
          GET
      • 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.
        • 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. Get

Display the payment instances of the document.

Testing
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
GET
/documents/{code}/payment-instances
apipagosinformationdocuments{code}payment-instances
Display the payment instances of the document.

Request

Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Path Params
code
string 
required
Header Params
Accept
string 
optional
Example:
application/json

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 GET 'https://api.test.apipagos.com/api/v2/apipagos/documents//payment-instances' \
--header 'Accept: application/json' \
--header 'Company-Token;'

Responses

🟢200OK
application/json
Body
data
array[object (Document Payment Instance) {5}] 
required
document
object (Document) 
optional
amount
integer <fixed64>
required
expired_at
string <date-time> | null 
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
Example
{
    "data": [
        {
            "document": {
                "code": "string",
                "type": {
                    "type_code": "string",
                    "title": "string",
                    "description": "string",
                    "documents_source": "string",
                    "transactions_source": "string",
                    "program_type": "string",
                    "status": {
                        "code": 0,
                        "label": "string",
                        "description": "string",
                        "action": "showHelp"
                    },
                    "config": "string"
                },
                "title": "string",
                "currency_code": "string",
                "amount": "string",
                "parent": {},
                "integrity_code": "string",
                "status": {
                    "code": 0,
                    "label": "string",
                    "description": "string",
                    "action": "showHelp"
                },
                "field_1": "string",
                "field_2": "string",
                "field_3": "string",
                "user": {
                    "code": "string",
                    "correlation_id": "string",
                    "type": "f",
                    "email": "string",
                    "email_verified_at": "2019-08-24T14:15:22Z",
                    "first_name": "string",
                    "last_name": "string",
                    "field_1": "string",
                    "field_2": "string",
                    "field_3": "string",
                    "profile_photo_url": "string",
                    "birthdate": "2019-08-24T14:15:22Z",
                    "birth_country": "string",
                    "nationality": "string",
                    "gender": "string",
                    "marital_status": "Single",
                    "status": {
                        "code": 0,
                        "label": "string",
                        "description": "string",
                        "action": "showHelp"
                    },
                    "created_at": "2019-08-24T14:15:22Z",
                    "updated_at": "2019-08-24T14:15:22Z"
                },
                "created_at": "2019-08-24T14:15:22Z",
                "updated_at": "2019-08-24T14:15:22Z"
            },
            "amount": 0,
            "expired_at": "2019-08-24T14:15:22Z",
            "created_at": "2019-08-24T14:15:22Z",
            "updated_at": "2019-08-24T14:15:22Z"
        }
    ]
}
Modified at 2024-04-04 20:38:46
Previous
Display a listing of documents.
Next
Display the specified document.
Built with