Pular para o conteúdo

Consultar dado de pagamento

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

Exibe um dado de pagamento da pessoa.

id
required
string

The ID of the person.

accountId
required
string
Media typeapplication/json
object
data
object
id
string
kind
string
pix_key
string
bank
string | null
Example
{
"data": {
"id": "01JA…",
"kind": "pix",
"pix_key": "[email protected]",
"bank": null
}
}
Media typeapplication/json
object
error
string
Example
{
"error": "Recurso não encontrado"
}