Criar comprador
POST
https://api.paylogos.com.br/v1/buyers
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.paylogos.com.br/v1/buyers' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Nome",
"last_name": "Sobrenome",
"email": "email_do_comprador@email.com",
"phone_number": " 123456789",
"taxpayer_id": "99999999999",
"birthdate": "0001-01-01",
"address": {
"line1": "Endereco",
"line2": "999",
"line3": "APT 999",
"neighborhood": "Downtown",
"city": "Cidade",
"state": "UF",
"postal_code": "99999999",
"country_code": "BR"
}
}'
Response Response Example
200 - Exemplo 1
{
"id": "string",
"status": "new",
"resource": "string",
"account_balance": 0,
"current_balance": 0,
"first_name": "string",
"last_name": "string",
"email": "string",
"phone_number": "string",
"taxpayer_id": "string",
"birthdate": "string",
"description": "string",
"address": {
"line1": "string",
"line2": "string",
"line3": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country_code": "string"
},
"delinquent": true,
"default_debit": "string",
"default_credit": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
Requisição
Parâmetros Header
Accept
string
opcional
Exemplo:
application/json
Content-Type
string
opcional
Exemplo:
application/json
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-06-12 21:03:34