Get all payins by type
GETTag: api-payments-gateway-get-payin-allDescription: Retrieve all payins for the authenticated user by payment type with optional country filter and pagination./v1/payin
Request
Query Parameters
Page sort attribute.
Page number, starting from 1. Default is 1.
Possible values: [BRA, ARG, CHL, PER]
Possible values: [CREDIT_CARD, DEBIT_CARD, CASH, BANK_TRANSFER]
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
Schema
- V1GetAllAcquiringPaymentsResponse
- V1GetAllCashDepositsResponse
- V1GetAllBankTransferDepositsResponse
- 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: [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]
Transaction Status.
Third Part Full Name.
Third Part Email Address.
Third Part Phone Number.
Possible values: [DNI, CE, PAS, PP, RUT, RUC, CUIL, CUIT, CPF, CNPJ]
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.
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
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.
{}
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"
}
]
}
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"
}
]
}
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.