Get all Payins
GETTag: api-payments-gateway-get-payin-allDescription: Retrieve all payin payments for the authenticated user by payment type with optional country filter and pagination. This endpoint requires the payment method type to be specified to determine the appropriate response format and data structure.Required Parameters:• type (query parameter): Payment method type - REQUIRED to specify the payment methodOptional Parameters:• country (query parameter): Country filter to limit results by specific country • page (query parameter): Page number for pagination (default: 1) • sort (query parameter): Field to sort the results bySupported Payment Method Types:• CREDIT_CARD: Credit card payments list • DEBIT_CARD: Debit card payments list • CASH: Cash payments list • OXXO: OXXO cash payments list • BANK_TRANSFER: Bank transfer payments listResponse Details by Payment Method:1. Acquiring Payments List (CREDIT_CARD/DEBIT_CARD):• Returns list of acquiring transactions • Includes payment status, amount, currency for each transaction • Shows card information (masked/encrypted) for each payment • Contains acquiring provider details • Includes 3DS authentication status if suitable • Shows installment information for credit cards • Returns redirect URLs if applicable2. Cash Deposit Payments List (CASH):• Returns list of cash deposit transactions3. Bank Transfer Deposit Payments List (BANK_TRANSFER):• Returns list of bank transfer deposit transactions • Shows bank transfer instructions and account detailsCommon Response Fields:• Pagination metadata (page, total, limit) • Array of payment objects with their respective details • Payment ID and operation ID for each transaction • Transaction status and timestamps • Amount and currency information • User and wallet associations • Country and language settings • Includes third-party information (name, email, phone, document) for each • Shows payment instructions and location details • Contains expiration time and status for each transaction • Includes address information • Shows document type and validation statusPagination and Filtering:• Pagination: Use 'page' parameter to navigate through results • Country Filter: Use 'country' parameter to filter by specific country • Sorting: Use 'sort' parameter to order results by specific fields • Database Limitation: Search method searches in all partitions (database limitation)Important Notes:• The type parameter is MANDATORY and determines the response structure • Authentication and wallet permissions are required • Only the payment owner can retrieve their payment lists • 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
Request
Query Parameters
Page sort attribute.
Page number, starting from 1. Default is 1.
Possible values: [BRA, ARG, CHL, PER, MEX]
Possible values: [CREDIT_CARD, DEBIT_CARD, CASH, BANK_TRANSFER, OXXO, YAPE, ASTRO_PAY_BANK_TRANSFER, QR]
Payment type filter. Use CREDIT_CARD or DEBIT_CARD for card payments, CASH for cash payments, or BANK_TRANSFER for bank transfer deposits.
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
Payins retrieved successfully.
- application/json
- Schema
- Example (from schema)
- acquiring
- cash
- bankTransfer
- oxxo
Schema
- Acquiring Payments (Credit/Debit Card)
- Cash
- Bank Transfer
- OXXO
- QR
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
Page number.
Page size.
Page total.
Total of elements.
data object[]required
List of acquiring payments.
Payment ID.
User ID of the merchant who performed the transaction.
Operation ID associated with the transaction.
Wallet 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 in cents.
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 First 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.
Expected External Settlement Date.
Transaction Refunded 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
Auto Capture flag.
Page number.
Page size.
Page total.
Total of elements.
data object[]required
List of cash payments.
Payment ID.
Operation ID associated with the transaction.
Country of the transaction.
Status of the transaction.
Amount of the transaction in cents.
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.
Page number.
Page size.
Page total.
Total of elements.
data object[]required
List of bank transfer deposits.
Deposit ID.
User ID associated with the deposit.
Wallet ID associated with the deposit.
Operation ID associated with the deposit.
Country of the deposit.
Status of the deposit.
Amount of the deposit.
Currency tag of the deposit.
Expiration time in minutes.
Url to provide to customer to continue the payment.
Language preference for the deposit process.
Third party's first name.
Third party's last name.
Third party's email address.
Third party's phone number.
Third party's document number.
Third party's document type.
Third party's address zip code.
Third party's address street.
Third party's address number.
Third party's address city.
Third party's address state.
Third party's address country.
Third party's address complement.
Date when the expiration occurs.
Date when the deposit was authorized.
Date when the deposit refund.
Date when the settlement occurred.
Date when the scheduled settlement will occur.
Creation date of the deposit record.
Last update date of the deposit record.
Redirect URL for payment success and error.
Page number.
Page size.
Page total.
Total of elements.
data object[]required
List of OXXO cash payments.
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 in cents.
Possible values: [MXN, PEN, CLP, ARS, USD, BRL]
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.
Possible values: [DNI, CE, PAS, PP, RUT, RUC, CUIL, CUIT, CPF, CNPJ, RFC, CURP, PASSPORT, TAXSTATEMENT, IDCARD]
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.
Created at.
Updated at.
Page number.
Page size.
Page total.
Total of elements.
data object[]required
List of QR payments.
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.
{}
Acquiring Payments Response (type=ACQUIRING)
{
"page": 1,
"page_size": 20,
"page_total": 5,
"total": 100,
"data": [
{
"id": "0197b169-da6b-7ba2-b053-ce413ae39afd",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"operation_id": "456e7890-e12b-34d5-a678-426614174001",
"wallet_id": "789e0123-e45b-67d8-a901-426614174002",
"country": "BR",
"sales_channel": "INTEGRATION",
"payment_method": "CREDIT_CARD",
"amount": 10000,
"currency_tag": "BRL",
"status": "AUTHORIZED",
"third_part_name": "John Doe",
"third_part_email": "john.doe@example.com",
"third_part_phone_number": "+5511999998888",
"third_part_document_type": "CPF",
"third_part_document": "12345678901",
"third_part_address_city": "São Paulo",
"third_part_address_country": "BR",
"third_part_address_state": "SP",
"third_part_address_number": "123",
"third_part_address_street": "Avenida Paulista",
"third_part_address_zip_code": "01311000",
"third_part_address_complement": "Apto 101",
"card_last_four_digits": "1234",
"installments": 1,
"authorized_date": "2023-01-01T12:00:00.000Z",
"declined_date": null,
"cancelled_date": null,
"settlement_date": "2023-01-02T12:00:00.000Z",
"cancelled_max_date": null,
"expected_settlement_date": "2023-01-02T12:00:00.000Z",
"refunded_date": null,
"created_at": "2023-01-01T10:00:00.000Z",
"updated_at": "2023-01-01T11:00:00.000Z",
"auto_capture": true
}
]
}
Cash Deposits Response (type=CASH)
{
"page": 1,
"page_size": 20,
"page_total": 3,
"total": 50,
"data": [
{
"id": "0197b169-da6b-7ba2-b053-ce413ae39afd",
"operation_id": "456e7890-e12b-34d5-a678-426614174001",
"country": "ARG",
"status": "PENDING",
"amount": 5000,
"currency_tag": "PEN",
"expiration_time_minutes": 10,
"payment_url": "https://example.com/deposit/0197b169-da6b-7ba2-b053-ce413ae39afd",
"third_part_name": "Jane",
"third_part_last_name": "Smith",
"third_part_email": "jane.smith@example.com",
"third_part_phone": "+54123456789",
"third_part_document": "87654321",
"third_part_document_type": "DNI",
"third_part_address_zip_code": "2000",
"third_part_address_street": "Av. Santa Fe",
"third_part_address_number": "456",
"third_part_address_city": "Rosario",
"third_part_address_state": "SF",
"third_part_address_country": "AR",
"third_part_address_complement": "Piso 2",
"redirect_url": "https://example.com/success",
"expiration_date": "2023-10-01T12:10:00.000Z",
"authorized_date": null,
"refunded_date": null,
"settlement_date": null,
"failed_date": null,
"created_at": "2023-10-01T12:00:00.000Z",
"updated_at": "2023-10-01T12:00:00.000Z"
}
]
}
Bank Transfer Deposits Response (type=BANK_TRANSFER)
{
"page": 1,
"page_size": 20,
"page_total": 2,
"total": 25,
"data": [
{
"id": "0197b169-da6b-7ba2-b053-ce413ae39afd",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"wallet_id": "223e4567-e89b-12d3-a456-426614174000",
"operation_id": "456e7890-e12b-34d5-a678-426614174001",
"country": "ARG",
"status": "PENDING",
"amount": 10000,
"currency_tag": "USD",
"expiration_time_minutes": 10,
"payment_url": "https://bank.example.com/transfer/0197b169-da6b-7ba2-b053-ce413ae39afd",
"language": "en",
"third_part_name": "Carlos",
"third_part_last_name": "Garcia",
"third_part_email": "carlos.garcia@example.com",
"third_part_phone": "+54123456789",
"third_part_document": "11223344",
"third_part_document_type": "DNI",
"third_part_address_zip_code": "3000",
"third_part_address_street": "Av. San Martin",
"third_part_address_number": "789",
"third_part_address_city": "Cordoba",
"third_part_address_state": "CB",
"third_part_address_country": "AR",
"third_part_address_complement": "Depto 3B",
"expiration_date": "2023-10-01T12:10:00.000Z",
"authorized_date": null,
"refunded_date": null,
"settlement_date": null,
"scheduled_settlement_date": "2023-10-02T12:00:00.000Z",
"created_at": "2023-10-01T12:00:00.000Z",
"updated_at": "2023-10-01T12:00:00.000Z",
"redirect_url": "https://example.com/my-home-page"
}
]
}
OXXO Cash Deposits Response (type=OXXO)
{
"page": 1,
"page_size": 20,
"page_total": 2,
"total": 20,
"data": [
{
"id": "0197b169-da6b-7ba2-b053-ce413ae39afd",
"operation_id": "456e7890-e12b-34d5-a678-426614174001",
"country": "MEX",
"status": "PENDING",
"amount": 7000,
"currency_tag": "MXN",
"expiration_time_minutes": 45,
"payment_url": "https://example.com/deposit/0197b169-da6b-7ba2-b053-ce413ae39afd",
"third_part_name": "Juan",
"third_part_last_name": "Perez",
"third_part_email": "juan.perez@example.com",
"third_part_phone": "+525511112222",
"third_part_document": "ABCD001122HDFRRL09",
"third_part_document_type": "CURP",
"third_part_address_zip_code": "06600",
"third_part_address_street": "Av. Reforma",
"third_part_address_number": "500",
"third_part_address_city": "Ciudad de México",
"third_part_address_state": "CMX",
"third_part_address_country": "MEX",
"third_part_address_complement": "Piso 10",
"redirect_url": "https://example.com/success",
"expiration_date": "2023-10-01T12:10:00.000Z",
"authorized_date": null,
"refunded_date": null,
"settlement_date": null,
"scheduled_settlement_date": "2023-10-03T12:00:00.000Z",
"created_at": "2023-10-01T12:00:00.000Z",
"updated_at": "2023-10-01T12:00:00.000Z"
}
]
}
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.