Get Payin by ID
GETTag: api-payments-gateway-get-payin-by-idDescription: Retrieve payin payment details by its unique ID. This endpoint requires the payment method type to be specified in the query parameter to determine the appropriate response format and data structure.Required Parameters:• id (path parameter): Unique identifier of the payin transaction • type (query parameter): Payment method type - REQUIRED to specify the payment methodSupported Payment Method Types:• CREDIT_CARD: Credit card payment details with acquiring information • DEBIT_CARD: Debit card payment details with acquiring information • CASH: Cash deposit payment details with third-party information • BANK_TRANSFER: Bank transfer deposit payment details with transfer instructions • OXXO: OXXO cash deposit payment detailsResponse Details by Payment Method:1. Acquiring Payments (CREDIT_CARD/DEBIT_CARD):• Returns acquiring transaction details • Includes payment status, amount, currency • Shows card information (masked/encrypted) • Contains acquiring provider details • Includes 3DS authentication status if applicable • Shows installment information for credit cards • Returns redirect URLs if applicable2. Cash Deposit Payments (CASH):• Returns cash deposit transaction details • Shows payment instructions and location details3. Bank Transfer Deposit Payments (BANK_TRANSFER):• Returns bank transfer deposit transaction details • Shows bank transfer instructions and account detailsCommon Response Fields:• Payment ID and operation ID • Transaction status and timestamps • Amount and currency information • User and wallet associations • Country and language settings • Error messages and validation status • Includes third-party information (name, email, phone, document) • Contains expiration time and status • Includes address information • Shows document type and validation statusImportant Notes:• The type parameter is MANDATORY and must match the original payment method • Authentication and wallet permissions are required • Only the payment owner can retrieve their payment details • Response format varies based on the payment method specified in the type parameterSecurity Features:• User authentication required (Bearer token) • Wallet association validation • Payment ownership verification • Sensitive data masking/encryption • Audit logging for access tracking/v1/payin/:id
Request
Path Parameters
Payin ID
Query Parameters
Possible values: [CREDIT_CARD, DEBIT_CARD, CASH, BANK_TRANSFER, OXXO, YAPE, ASTRO_PAY_BANK_TRANSFER, QR]
Payment method type
Header Parameters
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 422
Payin details retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Acquiring Payments (Credit/Debit Card)
- Cash
- OXXO
- Bank Transfer
- QR
- Array [
- ]
- Array [
- ]
Payment ID.
Operation ID associated with the transaction.
Country Of Transaction.
Possible values: [POS, PDV, MPOS, PAYLINK, INTEGRATION, TAP_ON_PHONE, VIRTUAL_TERMINAL]
Payment Sales Channel.
Possible values: [DEBIT_CARD, CREDIT_CARD]
Payment Method.
Payment Value.
Possible values: [MXN, PEN, CLP, ARS, USD, BRL]
Payment Currency Tag.
Possible values: [PENDING, WAITING, WAITING_THREE_DS, AUTHORIZED, EXPIRED, DECLINED, REVERTED, CANCELLATION_IN_PROGRESS, CANCELLED, SETTLED, REFUNDED, FAILED, ERROR]
Transaction Status.
Third Part Full Name.
Third Part Last Name.
Third Part Email Address.
Third Part Phone Number.
Possible values: [DNI, CE, PAS, PP, RUT, RUC, CUIL, CUIT, CPF, CNPJ, RFC, CURP, PASSPORT, TAXSTATEMENT, IDCARD]
Third Part Document Type.
Third Part Document Number.
Third Part Address City.
Third Part Address Country.
Third Part Address Federative Unit.
Third Part Address Number.
Third Part Address Street.
Third Part Address Zip Code.
Third Part Address Complement.
Third Part Address Neighborhood.
Last four digits of the card used.
Number of installments for the transaction.
Transaction Confirmation Date.
Transaction Declined Date.
Transaction Cancelled Date.
Transaction Settled Date.
Transaction Cancelled Max Date.
Transaction Refunded Max Date.
Expected External Settlement Date.
settled_acquiring_transactions object[]
Settled Acquiring Transactions
Settled Transaction ID.
Settled Transaction Amount.
Installment Number.
Transaction Creation Date.
acquiring_transaction_refunds object[]
Acquiring Transaction Refunds
Refund Transaction ID.
Refund Transaction Amount.
Possible values: [PENDING, WAITING, ACCEPTED, DECLINED, FAILED, ERROR]
Refund Transaction Status.
Refund Accepted Date.
Refund Declined Date.
Refund Failed Date.
Refund Creation Date.
Url to provide to customer to continue the payment.
Redirect URL for payment success and error.
Expected time in minutes for transaction expiration.
Language code for the transaction, e.g., "en", "pt".
Transaction Expiration Date.
Transaction creation date
Transaction last update date
Payment ID.
Operation ID associated with the transaction.
Country of the transaction.
Status of the transaction.
Amount of the transaction.
Currency of the transaction.
Expiration time in minutes.
Url to provide to customer to continue the payment.
Third part name.
Third part last name.
Third part email.
Third part phone.
Third part document.
Third part document type.
Third part address zip code.
Third part address street.
Third part address number.
Third part address city.
Third part address state.
Third part address country.
Third part address complement.
Redirect URL for payment success and error.
Expiration date.
Authorized date.
Refunded date.
Settlement date.
Failed date.
Created at.
Updated at.
Payment ID.
Operation ID associated with the transaction.
Country of the transaction.
Possible values: [PENDING, WAITING, AUTHORIZED, EXPIRED, SETTLED, REFUNDED, FAILED, DENIED, ERROR]
Status of the transaction.
Amount of the transaction.
Currency of the transaction.
Expiration time in minutes.
Url to provide to customer to continue the payment.
Third part name.
Third part last name.
Third part email.
Third part phone.
Third part document.
Third part document type.
Third part address zip code.
Third part address street.
Third part address number.
Third part address city.
Third part address state.
Third part address country.
Third part address complement.
Redirect URL for payment success and error.
Expiration date.
Authorized date.
Refunded date.
Settlement date.
Created at.
Updated at.
Payment ID.
Operation ID associated with the transaction.
Country of the transaction.
URL for completing the bank transfer.
Status of the transaction.
Amount of the transaction.
Currency of the transaction.
Expiration time in minutes.
Url to provide to customer to continue the payment.
Third part name.
Third part last name.
Third part email.
Third part phone.
Third part document.
Third part document type.
Third part address zip code.
Third part address street.
Third part address number.
Third part address city.
Third part address state.
Third part address country.
Third part address complement.
Redirect URL for payment success and error.
Expiration date.
Authorized date.
Refunded date.
Settlement date.
Created at.
Updated at.
Payment ID.
Operation ID associated with the transaction.
Country of the transaction.
Status of the transaction.
Amount of the transaction.
Currency of the transaction.
QR Code URL for direct flow.
QR Code data for direct flow.
Payment URL (redirectUrl when is_redirect=false).
QR Code image (base64 or image data). Only returned when is_redirect=true.
Expiration time in minutes.
Third part name.
Third part last name.
Third part email.
Third part phone.
Third part document.
Third part document type.
Third part address zip code.
Third part address street.
Third part address number.
Third part address city.
Third part address state.
Third part address country.
Third part address complement.
Redirect URL for payment success and error.
Expiration date.
Authorized date.
Refunded date.
Settlement date.
Scheduled settlement date.
Failed date.
Created at.
Updated at.
Platform where the payment is being made.
Indicates if the payment is recurrent.
Indicates if the payment should redirect to external URL or return QR code directly.
{}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.