Pular para o conteúdo

Listar dados de pagamento da pessoa

GET
/api/seller/external/v1/person/{id}/payment-account
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/person/iMRSFHQ9TYBYCWTPTRGW5G9ZPYF/payment-account" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Lista os dados de pagamento da pessoa (padrão primeiro), com o banco.

id
required
string

The ID of the person.

Media typeapplication/json
object
data
Array<object>
object
id
string
kind
string
pix_key_type
string | null
pix_key
string | null
bank_id
string
branch
string
branch_digit
string | null
account_number
string
account_digit
string
account_type
string
holder_name
string | null
holder_document_number
string | null
is_default
boolean
bank
object
id
string
compe_code
string
ispb
string
short_name
string
logo_url
string
Example
{
"data": [
{
"id": "01JA…",
"kind": "bank",
"pix_key_type": null,
"pix_key": null,
"bank_id": "01JA…",
"branch": "1234",
"branch_digit": null,
"account_number": "56789",
"account_digit": "0",
"account_type": "checking",
"holder_name": null,
"holder_document_number": null,
"is_default": true,
"bank": {
"id": "01JA…",
"compe_code": "341",
"ispb": "60701190",
"short_name": "Itaú Unibanco",
"logo_url": "https://api.spelt.com.br/images/banks/60701190.svg"
}
}
]
}
Media typeapplication/json
object
error
string
Example
{
"error": "Recurso não encontrado"
}