Run a sale with bank account details
Our gateway supports the following bank transfer services:
- Automated Clearing House (ACH): A service that U.S. banks use to transfer funds between accounts.
- Pre-Authorized Debit (PAD): A service that Canadian banks use to transfer funds between accounts.
Integration steps
- Create a bank transfer payment.
Before you begin
Authenticate your requests before making API calls. If your request fails, see Errors.
Create a bank transfer payment
To create a bank transfer payment, send a POST request to our Bank Transfer Payments endpoint.
Request parameters
To create the body of your request, use the following parameters:
Request
processingTerminalId
Unique identifier that we assigned to the terminal.
order
Object that contains information about the transaction.
paymentMethod
Polymorphic object that contains payment detail information.
The value of the type parameter determines which variant you should use:
- `ach` - Automated Clearing House (ACH) details
- `pad` - Pre-authorized debit (PAD) details
- `secureToken` - Secure token details
- `singleUseToken` - Single-use token details
customer
Object that contains information about the customer.
credentialOnFile
Object that contains information about saving the customer’s payment details.
customFields
Array of customField objects.
Example request
Response fields
If your request is successful, we create the payment and return the following response:
Response
paymentId
Unique identifier that we assigned to the payment.
processingTerminalId
Unique identifier that we assigned to the terminal.
order
Object that contains information about the transaction.
bankAccount
Polymorphic object that contains bank account information.
The value of the type field determines which variant you should use:
- `ach` - Automated Clearing House (ACH) details
- `pad` - Pre-authorized debit (PAD) details
transactionResult
Object that contains information about the transaction.
customer
Object that contains information about the customer.
refunds
List of refunds issued against the payment.
returns
List of returns issued against the payment.
representment
Object that contains details about the re-presented payment linked to the return.
customFields
Array of customField objects.
Example response
Response
Test cases
Before you run test cases, read the Payments page in Test Your Integration.
Run a sale with bank account details
Send a POST request to the following endpoint:
POST https://api.uat.payroc.com/v1/bank-transfer-payments
Example response