List Payments

Overview

This endpoint retrieves a paginated list of Payments associated with an entity’s Customer. It provides details such as status, direction, recipient, amount, and references for reconciliation and monitoring.

Endpoint Details

DefinitionDescription
Endpointhttps://api.paas-sandbox.co.passportfintech.com/v1/payments
MethodGET
HeadersContent-Type: application/json, Authorization
AuthenticationAccess Token (Bearer Token)

Query Paramaters

Pagination Parameters

ParameterDescription
page_params.page_sizeNumber of records to return per page.
page_params.page_numberPage number to retrieve.
page_params.first_request_timestamp.secondsUTC seconds since Unix epoch (1970-01-01T00:00:00Z).
page_params.first_request_timestamp.nanosNanosecond fraction (0 to 999,999,999).

Ordering Parameters

ParameterDescription
order_params.order_keyField used to sort results (for example, created_at or updated_at, depending on supported values).
order_params.order_directionSort direction. Allowed values: ORDER_DIRECTION_ENUM_UNSPECIFIED, ASC, DESC.

Payment Filters

ParameterDescription
payment_idFilter by payment ID.
customer_idFilter by customer ID.
account_idFilter by account ID.
directionFilter by payment direction (for example, INBOUND / OUTBOUND).
key_valueFilter by Bre-B key value associated with the payment.
statusFilter by payment status.
qr_code_referenceFilter by QR code reference.
typeFilter by payment type.
end_to_end_identificationFilter by the unique identifier in the Bre-B ecosystem.

Sender Filters

ParameterDescription
sender_typeFilter by sender owner type (for example, INDIVIDUAL, BUSINESS).
sender_nameFilter by sender name.
sender_identification_typeFilter by sender identification type (for example, CC, NIT).
sender_identification_numberFilter by sender identification number.
sender_account_typeFilter by sender account type.
sender_account_numberFilter by sender account number.
sender_participant_nameFilter by sender participant name.
sender_participant_identification_numberFilter by sender participant identification number.

Receiver Filters

ParameterDescription
receiver_typeFilter by receiver owner type (for example, INDIVIDUAL, BUSINESS).
receiver_nameFilter by receiver name.
receiver_identification_typeFilter by receiver identification type (for example, CC, NIT).
receiver_identification_numberFilter by receiver identification number.
receiver_account_typeFilter by receiver account type.
receiver_account_numberFilter by receiver account number.
receiver_participant_nameFilter by receiver participant name.
receiver_participant_identification_numberFilter by receiver participant identification number.

Creation Time Filters

ParameterDescription
created_at_after.secondsLower bound (inclusive) for payment creation time, in UTC seconds since Unix epoch.
created_at_after.nanosNanosecond fraction for created_at_after (0 to 999,999,999).
created_at_before.secondsUpper bound (inclusive/exclusive depending on implementation) for payment creation time, in UTC seconds since Unix epoch.
created_at_before.nanosNanosecond fraction for created_at_before (0 to 999,999,999).

Update Time Filters

ParameterDescription
updated_at_after.secondsLower bound for payment update time, in UTC seconds since Unix epoch.
updated_at_after.nanosNanosecond fraction for updated_at_after (0 to 999,999,999).
updated_at_before.secondsUpper bound for payment update time, in UTC seconds since Unix epoch.
updated_at_before.nanosNanosecond fraction for updated_at_before (0 to 999,999,999).

Request Body

This endpoint does not require a request body.

Example Request

JSON
Copy

Response

  • HTTP Status Code: 200 OK.

Example of Response

JSON
Copy

Common Errors and Handling

HTTP Status CodeMeaningDescription
400Bad RequestInvalid parameters or malformed request
401UnauthorizedMissing/expired bearer token, or token lacks paas.core.breb_payments.list.get scope
403ForbiddenCaller does not have permission to list payments
404Not FoundNo payments exist for the entity
500Server ErrorUnexpected error; retry or contact support

Best Practices

  • Use the pagination_info object to iterate through large payment histories.
  • Filter by status to track operational flows.
  • Leverage direction (OUTBOUND, INBOUND) for settlement and reconciliation.
  • Store and log id, reference, and updated_at for auditing purposes.
  • Combine with Retrieve Payment (GET /payments/{id}) to get detailed transaction information when needed.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard