Skip to main content

List Payment Notifications

GET 

/api/accounts/:partnerAccountId/payment-notifications

List payment event notifications for the given accountId. The notification account id will be the same as the partner account that owns the Card Program for the payments. See Custodial Funding Protocol for details about payment event notifications. Results are paginated and ordered by descending createdAt date.

Request

Path Parameters

    partnerAccountId stringrequired

    Partner account id.

Query Parameters

    limit number

    Amount of records to return (max 100).

    cursor string

    Cursor to retrieve the next page.

    createdFrom string

    Filter for transactions from this date (inclusive). Value should be a ISO 8601 string.

    createdTo string

    Filter for transactions up to this date (inclusive). Value should be a ISO 8601 string.

Responses

Successful operation

Schema

    items

    object[]

  • Array [

  • id stringrequired

    Payment notification primary identifier.

    accountId stringrequired

    Cardholder account this payment notification belongs to.

    fundingSourceId stringrequired

    Funding Source this payment notification belongs to.

    createdAt stringrequired

    Timestamp of payment notification creation.

    paymentId stringrequired

    Payment id this notification belongs to.

    attempts numberrequired

    Number of times this payment notification was attempted to be delivered.

    delivered booleanrequired

    Payment notification has been delivered successfully to the partner webhook.

    lastDelivery

    object

    Last delivery attempt details. This can be empty if the payment notification is still scheduled for delivery. Response fields can be empty if there is no response from the partner webhook yet.

    requestBody object

    Payment notification payload sent to the partner webhook.

    requestUrl string

    The url of the partner webhook this payment notification was attempted to be delivered to.

    requestTimestamp string

    Timestamp of payment notification last delivery request.

    responseBody object

    The partner webhook response to this payment notification last delivery.

    responseStatus number

    HTTP Response status code of this payment notification last delivery

    responseTimestamp string

    Timestamp of Payment Notification last delivery response.

    duration number

    Number of milliseconds between the request and response

  • ]

  • pageInfo

    object

    Page info for paginated results, undefined if no page info

    nextCursor string

    Cursor for next page, undefined if no more pages

Loading...