Saltar al contenido principal
GET
Get a payment's provider binding

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

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 ruta

id
string<uuid>
requerido

Payment identifier (UUID).

Ejemplo:

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

Respuesta

OK.

paymentId
string<uuid>
requerido
Ejemplo:

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

providerId
string | null
requerido

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

Maximum string length: 100
Ejemplo:

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

providerType
string
requerido

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

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

"BTG"