- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Get Country Provinces
Developing
Testing Env
Testing Env
GET
/location/provinces/{isoCode}
apipagos
Request
Authorization
Add parameter in header
Company-Token
Example:
Company-Token: ********************
Path Params
isoCode
string
required
Example:
ARG
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/location/provinces/ARG' \
--header 'Company-Token;'
Responses
🟢200Success
application/json
Body
array of:
id
integer
optional
name
string
optional
iso_code
string
optional
internal_code
string
optional
category
string
optional
country_id
integer
optional
created_at
string
optional
updated_at
string
optional
deleted_at
null
optional
Example
[
{
"id": 1,
"name": "Ciudad Autónoma de Buenos Aires",
"iso_code": "AR-C",
"internal_code": "02",
"category": "province",
"country_id": 1,
"created_at": "2023-10-27T19:53:09.000000Z",
"updated_at": "2023-12-01T14:13:23.000000Z",
"deleted_at": null
}
]
🔴500Server Error Response
Modified at 2024-08-29 16:58:52