Payments

payments

Methods

List Payments -> CursorPage<>
get/v1/payments

List all the payments for the provided search criteria.

query Parameters
account_token: string
Optional
(format: uuid)
begin: string
Optional
(format: date-time)

Date string in RFC 3339 format. Only entries created after the specified time will be included. UTC time zone.

business_account_token: string
Optional
(format: uuid)
category:
Optional
"ACH"
end: string
Optional
(format: date-time)

Date string in RFC 3339 format. Only entries created before the specified time will be included. UTC time zone.

ending_before: string
Optional

A cursor representing an item's token before which a page of results should end. Used to retrieve the previous page of results before this item.

financial_account_token: string
Optional
(format: uuid)
page_size: number
Optional
(maximum: 100, minimum: 1, default: 50)

Page size (for pagination).

result:
Optional
"APPROVED"
"DECLINED"
starting_after: string
Optional

A cursor representing an item's token after which a page of results should begin. Used to retrieve the next page of results after this item.

status:
Optional
"DECLINED"
"PENDING"
"RETURNED"
"SETTLED"
Response fields
data: Array<>
has_more: boolean

More data exists.

Request example
200Example
Create Payment ->
post/v1/payments

Initiates a payment between a financial account and an external bank account.

Get Payment By Token ->
get/v1/payments/{payment_token}

Get the payment by token.

Simulate Release Payment -> { debugging_request_id, result, transaction_event_token }
post/v1/simulate/payments/release

Simulates a release of a Payment.

Simulate Return Payment -> { debugging_request_id, result, transaction_event_token }
post/v1/simulate/payments/return

Simulates a return of a Payment.

Retry Payment ->
post/v1/payments/{payment_token}/retry

Retry an origination which has been returned.

Return Payment ->
post/v1/payments/{payment_token}/return

Return an ACH payment with a specified return reason code. Returns must be initiated within the time window specified by NACHA rules for each return code (typically 2 banking days for most codes, 60 calendar days for unauthorized debits). For a complete list of return codes and their meanings, see the ACH Return Reasons documentation.

Note:

  • This endpoint does not modify the state of the financial account associated with the payment. If you would like to change the account state, use the Update financial account status endpoint.
  • By default this endpoint is not enabled for your account. Please contact your implementations manager to enable this feature.
Simulate Receipt -> { debugging_request_id, result, transaction_event_token }
post/v1/simulate/payments/receipt

Simulates a receipt of a Payment.

Simulate Payment Lifecycle Event -> { debugging_request_id, result, transaction_event_token }
post/v1/simulate/payments/{payment_token}/action

Simulate payment lifecycle event

Domain types

Payment = { token, category, created, 19 more... }

Payment transaction