Skip to main content

Input fields

accountNumber : String! required

The account number.

amount : Int! required

The amount to be collected in the minor unit of currency.

collectionMethod : CollectionMethod! required

The method by which the payment is being collected.

description : String! required

A description of the purpose of the payment.

ledgerId : ID

The id of the specific ledger against which this payment should be applied.

Deprecation
The 'ledgerId' field is deprecated.

Please use 'ledgerNumber' instead. This is in the form of 'L-123456789A'

- Marked as deprecated on 2024-10-22.
- Scheduled for removal on or after 2025-06-25.
ledgerNumber : String

The number of the specific ledger against which this payment should be applied.

returnUrlCancel : String

The URL to redirect the user to after the action was cancelled.

returnUrlError : String

The URL to redirect the user to after the action resulted in an error.

returnUrlExpired : String

The URL to redirect the user to if the url is not longer valid.

returnUrlFailure : String

The URL to redirect the user to after the action resulted in a failure.

returnUrlPending : String

The URL to redirect the user to after the action was completed but the payment is still being processed.

returnUrlSuccess : String

The URL to redirect the user to after the action was completed successfuly.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accountNumber": "A-F8303209", "amount": 82, "collectionMethod": "CARD", "description": "rule-draw-manager-long-different", "ledgerNumber": "include-night-trade-truth-every", "returnUrlCancel": "position-answer-author-memory-theory", "returnUrlError": "city-she-third-find-realize", "returnUrlExpired": "support-he-red-say-organization", "returnUrlFailure": "task-to-whether-number-computer", "returnUrlPending": "economy-design-now-serious-appear", "returnUrlSuccess": "race-response-girl-middle-close" }