Get All Open Finance Payments
GET/open-finance/payments
Get all open finance payments with filters.
Request
Query Parameters
Default value: 1
Page number.
Possible values: <= 100
Default value: 20
Page size. Max size is 100.
Possible values: [id, created_at, amount, payment_date, status]
Page sort attribute.
Possible values: [asc, desc]
Default value: asc
Page order.
Possible values: [PENDING, WAITING, COMPLETED, FAILED, REJECTED, SCHEDULED, CANCELLED, ERROR]
Payment status.
Filter by created at start.
Filter by created at end.
Participant UUID.
Header Parameters
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
Payments returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Page number.
Page size.
Page total.
Total of elements.
data object[]required
Payments data.
Payment UUID.
User UUID.
Participant UUID.
Payment consent UUID.
Possible values: [PENDING, WAITING, COMPLETED, FAILED, REJECTED, SCHEDULED, CANCELLED, ERROR]
Payment status.
Payment amount in cents.
Payment date.
Possible values: [PIX_KEY, PIX_ACCOUNT, QR_CODE_DYNAMIC, QR_CODE_STATIC]
Payment type.
End to end ID.
Rejection reason code.
Rejection reason detail.
Failed code.
Failed message.
Third part creditor name.
Third part creditor document.
Possible values: [NATURAL_PERSON, LEGAL_PERSON]
Third part creditor person type.
Third part payment creditor account ISPB.
Third part payment creditor account number.
Third part payment creditor branch.
Third part payment creditor account type.
Third part payment pix key.
Third part payment EMV.
Third part logged user document.
Possible values: [CPF, CNPJ]
Third part logged user document type.
Third part business entity document.
Possible values: [CPF, CNPJ]
Third part business entity document type.
Payment created at.
Payment updated at.
{
"page": 1,
"page_size": 20,
"page_total": 20,
"total": 100,
"data": [
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"user_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"open_finance_participant_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"payment_consent_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"status": "PENDING",
"amount": 10000,
"payment_date": "2024-01-01T00:00:00.000Z",
"payment_type": "PIX_KEY",
"end_to_end_id": "E00038166201907261559y6j6",
"rejection_reason_code": "AB03",
"rejection_reason_detail": "Líquido insuficiente.",
"failed_code": "ERROR_CODE",
"failed_message": "Error processing payment",
"third_part_creditor_name": "string",
"third_part_creditor_document": "string",
"third_part_creditor_person_type": "NATURAL_PERSON",
"third_part_payment_creditor_account_ispb": "string",
"third_part_payment_creditor_account_number": "string",
"third_part_payment_creditor_branch": "string",
"third_part_payment_creditor_account_type": "string",
"third_part_payment_pix_key": "string",
"third_part_payment_emv": "string",
"third_part_logged_user_document": "string",
"third_part_logged_user_document_type": "CPF",
"third_part_business_entity_document": "string",
"third_part_business_entity_document_type": "CPF",
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00: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.