Pular para o conteúdo principal
GET
Get a payment's provider binding

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string

Midaz organization the payment belongs to. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. A payment of another organization is answered 404, exactly as one that does not exist.

Parâmetros de caminho

id
string<uuid>
obrigatório

Payment identifier (UUID).

Exemplo:

"0199c3d4-e5f6-7a70-8b2c-3d4e5f6a7b8c"

Resposta

OK.

paymentId
string<uuid>
obrigatório
Exemplo:

"0199c3d4-e5f6-7a70-8b2c-3d4e5f6a7b8c"

providerId
string | null
obrigatório

Identifier of the payment at the provider. Null while UNCONFIRMED without a provider answer.

Maximum string length: 100
Exemplo:

"a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"

providerType
string
obrigatório

Provider identifier, uppercase. Records created before provider routing read BTG.

Required string length: 1 - 20
Pattern: ^[A-Z][A-Z0-9_]{0,19}$
Exemplo:

"BTG"