Skip to main content
GET
Get a payment's provider binding

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

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.

Path Parameters

id
string<uuid>
required

Payment identifier (UUID).

Example:

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

Response

OK.

paymentId
string<uuid>
required
Example:

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

providerId
string | null
required

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

Maximum string length: 100
Example:

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

providerType
string
required

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

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

"BTG"