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.
          PUT
        • Updates contract extras.
          PUT
        • Update single contract
          PATCH
    • 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.
        • 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

Updates contracts.

Testing
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
Testing Env
https://api.test.apipagos.com/api/v2/apipagos
PUT
/contracts
apipagosupdatecontracts12
Updates contracts.

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 
optional
Example:
9b4275202bc70894e7b6c821208f59aa
config_code
string 
optional
Example:
test
description
string 
optional
Example:
Cae p fsafdas
status_code
string 
optional
Example:
1
title
string 
optional
Example:
Title
user_code_dst
string 
optional
Example:
3bfeafb529cac08a720eb3fa605e964f
user_code_src
string 
optional
Example:
17cbde032a7c358b00caac9404db51f8
Example
[
  {
    "code": "429ac324f63021c3e763c132483e60c7",
    "description": "Cae p fsafdas",
    "status_code": "1",
    "title": "Title",
    "user_id_dst": 3728,
    "user_id_src": 4911,
    "user_email_dst": "[email protected]",
    "user_phone_dst": "+541158370200",
    "config_code": "cesiones"
  }
]

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/contracts' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '[
    {
        "code": "429ac324f63021c3e763c132483e60c7",
        "description": "Cae p fsafdas",
        "status_code": "1",
        "title": "Title",
        "user_id_dst": 3728,
        "user_id_src": 4911,
        "user_email_dst": "[email protected]",
        "user_phone_dst": "+541158370200",
        "config_code": "cesiones"
    }
]'

Responses

🟢200OK
application/json
Body
array of:
code
string 
required
user_code_src
string 
required
user_code_dst
string  | null 
required
user_email_dst
string  | null 
required
user_phone_dst
string  | null 
required
status_code
integer 
required
>= 0<= 2
config_code
string 
required
title
string 
required
description
string  | null 
required
Example
{
  "data": [
    {
      "code": "<string>",
      "config_code": "<string>",
      "created_at": "<dateTime>",
      "description": "<string>",
      "expired_at": "<dateTime>",
      "id": "<integer>",
      "integrity_code": "<string>",
      "status": {
        "action": "showPopup",
        "code": "<integer>",
        "description": "<string>",
        "label": "<string>"
      },
      "title": "<string>",
      "updated_at": "<dateTime>",
      "user_destiny": {
        "birth_country": "<string>",
        "birthdate": "<dateTime>",
        "code": "<string>",
        "company_id": "<integer>",
        "correlation_id": "<string>",
        "created_at": "<dateTime>",
        "email": "<string>",
        "email_verified_at": "<dateTime>",
        "field_1": "<string>",
        "field_2": "<string>",
        "field_3": "<string>",
        "first_name": "<string>",
        "gender": "Other",
        "id": "<integer>",
        "last_name": "<string>",
        "marital_status": "Single",
        "nationality": "<string>",
        "profile_photo_url": "<string>",
        "status": {
          "action": "showHelp",
          "code": "<integer>",
          "description": "<string>",
          "label": "<string>"
        },
        "type": "f",
        "updated_at": "<dateTime>"
      },
      "user_destiny_email": "<string>",
      "user_destiny_exists": "<boolean>",
      "user_destiny_phone": "<string>",
      "user_source": {
        "birth_country": "<string>",
        "birthdate": "<dateTime>",
        "code": "<string>",
        "company_id": "<integer>",
        "correlation_id": "<string>",
        "created_at": "<dateTime>",
        "email": "<string>",
        "email_verified_at": "<dateTime>",
        "field_1": "<string>",
        "field_2": "<string>",
        "field_3": "<string>",
        "first_name": "<string>",
        "gender": "Female",
        "id": "<integer>",
        "last_name": "<string>",
        "marital_status": "Married",
        "nationality": "<string>",
        "profile_photo_url": "<string>",
        "status": {
          "action": "stopExecution",
          "code": "<integer>",
          "description": "<string>",
          "label": "<string>"
        },
        "type": "f",
        "updated_at": "<dateTime>"
      }
    },
    {
      "code": "<string>",
      "config_code": "<string>",
      "created_at": "<dateTime>",
      "description": "<string>",
      "expired_at": "<dateTime>",
      "id": "<integer>",
      "integrity_code": "<string>",
      "status": {
        "action": "showHelp",
        "code": "<integer>",
        "description": "<string>",
        "label": "<string>"
      },
      "title": "<string>",
      "updated_at": "<dateTime>",
      "user_destiny": {
        "birth_country": "<string>",
        "birthdate": "<dateTime>",
        "code": "<string>",
        "company_id": "<integer>",
        "correlation_id": "<string>",
        "created_at": "<dateTime>",
        "email": "<string>",
        "email_verified_at": "<dateTime>",
        "field_1": "<string>",
        "field_2": "<string>",
        "field_3": "<string>",
        "first_name": "<string>",
        "gender": "Other",
        "id": "<integer>",
        "last_name": "<string>",
        "marital_status": "Single",
        "nationality": "<string>",
        "profile_photo_url": "<string>",
        "status": {
          "action": "none",
          "code": "<integer>",
          "description": "<string>",
          "label": "<string>"
        },
        "type": "f",
        "updated_at": "<dateTime>"
      },
      "user_destiny_email": "<string>",
      "user_destiny_exists": "<boolean>",
      "user_destiny_phone": "<string>",
      "user_source": {
        "birth_country": "<string>",
        "birthdate": "<dateTime>",
        "code": "<string>",
        "company_id": "<integer>",
        "correlation_id": "<string>",
        "created_at": "<dateTime>",
        "email": "<string>",
        "email_verified_at": "<dateTime>",
        "field_1": "<string>",
        "field_2": "<string>",
        "field_3": "<string>",
        "first_name": "<string>",
        "gender": "Female",
        "id": "<integer>",
        "last_name": "<string>",
        "marital_status": "Widowed",
        "nationality": "<string>",
        "profile_photo_url": "<string>",
        "status": {
          "action": "showPopup",
          "code": "<integer>",
          "description": "<string>",
          "label": "<string>"
        },
        "type": "f",
        "updated_at": "<dateTime>"
      }
    }
  ]
}
Previous
Get contract extra by ID.
Next
Updates contract extras.
Built with