customer/v1/payments

[GET] customer/v1/payments

Get recent payments

Utilizing limit, before, after, page, status, and amount optional query parameters, call the recent payments endpoint to return a list of a customer's recent payments.

Example [GET] Request

{{avenu_base_url}}/customer/v1/payments?limit=10&after=2023-02-09&before=&status=SETTLED&amount=10000

Query Parameters

ParameterFormatRequired
"limit"DoubleN
"after"String; ISO 8601 YYYY-MM-DDN
"before"String; ISO 8601 YYYY-MM-DDN
"page"IntegerN
"status"String; [PENDING, SETTLED, CANCELLED, DECLINED, or FAILED]N
"amount"IntegerN

Example Response

{
    "pagination": "",
    "payments": [
        {
            "paymentType": "",
            "recipientAccount": {
                "customerAccountNumber": xxx,
                "achAccountNumber": "",
                "debitCardNumber": "",
                "debitCardExpiration": "",
                "debitCardCvv": ""
            },
            "amount": "",
            "currency": "",
            "memo": "",
            "paymentId": "",
            "status": "",
            "dateUpdated": ""
        }
    ]
}

Response Elements

ElementDetails
paginationThe current page of transactions
paymentTypeThe type of payment for the transaction. See Payments Overview
recipientAccountArray with details of the account receiving the payment
customerAccountNumberAccount number of the recipient
achAccountNumberACH account number of the recipient
debitCardNumberDebit card number of the recipient
debitCardExpirationDebit card expiration of the recipient
debitCardCvvDebit card security code (CVV / CVC) of the recipient
amountThe amount of the payment in the lowest currency. e.g. cents
currencyThe currency of the payment
memoAny memo attached to the payment
paymentIdThe identification number for the payment.
statusThe current status of the transaction. See Payments Overview
dateUpdatedDate of last status update in format ISO 8601 YYYY-MM-DD