- Apipagos Extras
- Apipagos Core
- Contracts
- Documents
- Refunds
- Subscriptions
- Transactions
- Publications
- Users
- Location
- Tenant infoGET
- AFIPGET
Create new contract extras.
Testing
Testing Env
Testing Env
POST
/contracts/extras
apipagoscreatecontract_extras
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:
contract_code
string
required
Match pattern:
^[a-f0-9]{32}$
name
string
required
key_code
string
required
value
string
required
Example
[
{
"contract_code": "428fda282c5955ae90508b5edf6812cf",
"name": "Extra Fielddd",
"key_code": "extra_field_2",
"value": "occaecat"
},
{
"contract_code": "428fda282c5955ae90508b5edf6812cf",
"name": "Dealer",
"key_code": "dealer_code",
"value": "VW"
}
]
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 POST 'https://api.test.apipagos.com/api/v2/apipagos/contracts/extras' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Company-Token;' \
--data-raw '[
{
"contract_code": "428fda282c5955ae90508b5edf6812cf",
"name": "Extra Fielddd",
"key_code": "extra_field_2",
"value": "occaecat"
},
{
"contract_code": "428fda282c5955ae90508b5edf6812cf",
"name": "Dealer",
"key_code": "dealer_code",
"value": "VW"
}
]'
Responses
🟢200OK
application/json
Body
id
integer <uint64>
required
name
string
required
key_code
string
required
value
string
required
Example
{
"id": 33,
"name": "vergo nostrum demonstro",
"key_code": "extra_field",
"value": "asdasd"
}
Modified at 2024-09-05 18:33:27