- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Update subscriptions.
Testing
Testing Env
Testing Env
PUT
/subscriptions
apipagosupdatesubscriptions12
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
required
status_code
integer | null
optional
debit_day
string | null
optional
start_date
string | null
optional
field_1
string | null
optional
field_2
string | null
optional
field_3
string | null
optional
reference_1
string | null
optional
reference_2
string | null
optional
Example
[
{
"code": "44",
"subscription_type_id": "in ea sit Duis",
"status_code": 21,
"debit_day": "2026-01-26",
"start_date": "2025-01-21",
"field_1": null,
"field_2": null,
"field_3": "fugiat dolore do aliquip sed",
"reference_1": null,
"reference_2": null
},
{
"code": "87",
"subscription_type_id": "sed enim ullamco labore",
"status_code": 14,
"debit_day": "2025-06-29",
"start_date": "2025-10-16",
"field_1": "esse",
"field_2": null,
"field_3": null,
"reference_1": "consectetur ad",
"reference_2": null
}
]
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/subscriptions' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '[
{
"code": "44",
"subscription_type_id": "in ea sit Duis",
"status_code": 21,
"debit_day": "2026-01-26",
"start_date": "2025-01-21",
"field_1": null,
"field_2": null,
"field_3": "fugiat dolore do aliquip sed",
"reference_1": null,
"reference_2": null
},
{
"code": "87",
"subscription_type_id": "sed enim ullamco labore",
"status_code": 14,
"debit_day": "2025-06-29",
"start_date": "2025-10-16",
"field_1": "esse",
"field_2": null,
"field_3": null,
"reference_1": "consectetur ad",
"reference_2": null
}
]'
Responses
🟢200OK
application/json
Body
data
array [object {18}]
required
code
string
optional
config_code
string
optional
gateway
object
optional
user_payment_method
object
optional
status
object
optional
integrity_code
string
optional
debit_day
string
optional
start_date
string
optional
user
object
optional
document_type
object
optional
field_1
string
optional
field_2
string
optional
field_3
string
optional
reference_1
string
optional
reference_2
string
optional
created_at
string
optional
updated_at
string
optional
canceled_at
string
optional
Example
{
"data": [
{
"code": "string",
"config_code": "string",
"gateway": {
"code": "string",
"type": "string",
"title": "string",
"description": "string",
"messages": {
"status": "string",
"info": "string",
"success": "string",
"error": "string"
},
"amount": {
"min": "string (decimal)",
"max": "string (decimal)"
},
"settlement_days": "integer",
"settlement_prefix": "string",
"settlement_suffix": "string",
"default": "integer",
"config": {
"cbu_enabled": "boolean",
"cvu_enabled": "boolean",
"validate_cuit": "boolean"
}
},
"user_payment_method": {
"entity_id": "null | integer",
"entity_code": "null | string",
"code": "string",
"company_id": "integer",
"user_id": "integer",
"holder": "null | string",
"field_1": "null | string",
"method": "string",
"gateway_code": "string",
"gateway_type": "string",
"number": "string",
"hashed_number": "string",
"visible_data": "string",
"bin": "string",
"due_date": "string",
"name": "string",
"csv": "string",
"created_at": "string (datetime)",
"updated_at": "string (datetime)",
"deleted_at": "null | string (datetime)"
},
"status": {
"code": "integer",
"label": "string",
"description": "string",
"action": "string"
},
"integrity_code": "null | string",
"debit_day": "integer",
"start_date": "string (datetime)",
"user": {
"id": "integer",
"code": "string",
"type": "string",
"email": "string",
"email_verified_at": "null | string (datetime)",
"first_name": "string",
"last_name": "string",
"company_name": "null | string",
"field_1": "string",
"field_2": "string",
"field_3": "string",
"profile_photo_url": "string",
"birthdate": "string (date)",
"birth_country": "string",
"nationality": "string",
"gender": "string",
"marital_status": "string",
"status": {
"code": "integer",
"label": "string",
"description": "string",
"action": "string"
},
"created_at": "string (datetime)",
"updated_at": "string (datetime)",
"addresses": [
{
"street": "string",
"street_number": "string",
"department_number": "null | string",
"department_floor": "string",
"city": "string",
"state": "string",
"zip": "string",
"type": "string",
"country_id": "integer",
"province_id": "integer",
"locality_id": "integer",
"deleted_at": "null | string (datetime)",
"updated_at": "string (datetime)",
"created_at": "string (datetime)",
"country": "string"
}
],
"identities": [
{
"identification_type_id": "integer",
"id_version": "string",
"identification_number": "string",
"country_id": "integer",
"issue_date": "null | string (date)",
"expiration_date": "null | string (date)",
"deleted_at": "null | string (datetime)",
"updated_at": "string (datetime)",
"created_at": "string (datetime)",
"type": {
"id": "integer",
"name": "string",
"code": "string",
"deleted_at": "null | string (datetime)",
"updated_at": "string (datetime)",
"created_at": "string (datetime)"
}
}
],
"contactInfo": [
{
"contact_type": "string",
"contact_subtype": "string",
"contact_detail": "string",
"default": "integer (1 o 0)",
"is_valid": "integer (1 o 0)",
"deleted_at": "null | string (datetime)",
"updated_at": "string (datetime)",
"created_at": "string (datetime)"
}
],
"paymentMethods": [
{
"entity_id": "integer",
"entity_code": "string",
"code": "string",
"company_id": "integer",
"holder": "null | string",
"field_1": "null | string",
"method": "string",
"gateway_code": "string",
"gateway_type": "string",
"number": "string",
"hashed_number": "null | string",
"visible_data": "string",
"bin": "null | string",
"due_date": "null | string",
"name": "null | string",
"csv": "null | string",
"created_at": "string (datetime)",
"updated_at": "string (datetime)",
"deleted_at": "null | string"
}
],
"accounts": [],
"fiscalData": {
"condition": "string",
"occupation": "string",
"government_activity": "string",
"government_activity_id": "integer",
"government_status": "string",
"category": "string",
"category_id": "integer",
"subcategory": "string",
"subcategory_id": "integer",
"created_at": "string (datetime)",
"updated_at": "string (datetime)",
"deleted_at": "null | string"
},
"validations": [
{
"validation_id": "integer",
"validation_type": "string",
"log": "array | object",
"status_code": "integer",
"expiry_date": "string (datetime)",
"created_at": "string (datetime)",
"updated_at": "string (datetime)",
"deleted_at": "null | string"
}
],
"extras": [],
"company": {
"company": "string",
"name": "string",
"legal_name": "string",
"tax_id": "string",
"email": "string",
"website": "string",
"status_code": "integer",
"logo": "string (URL)",
"portal_link": "string",
"validity_date": "string (datetime)",
"auditor": "string",
"end_date": "null | string",
"deleted_at": "null | string",
"updated_at": "string (datetime)",
"created_at": "string (datetime)"
},
"relations": [],
"complianceExtra": [],
"representedCompanies": []
},
"document_type": {
"type_code": "string",
"title": "string",
"description": "string",
"documents_source": "string",
"transactions_source": "string",
"program_type": "string",
"config": "array"
},
"field_1": "string",
"field_2": "string",
"field_3": "string",
"reference_1": "null | string",
"reference_2": "null | string",
"created_at": "string (datetime)",
"updated_at": "string (datetime)",
"canceled_at": "null | string (datetime)"
}
]
}
🔴500Server Error Response
Modified at 2025-04-22 14:26:07