Create payment
Changed onUse this method to run a sale with a customer's bank account details.
In the response, our gateway returns information about the bank transfer payment and a paymentId, which you need for the following methods:
- Retrieve payment - View the details of the bank transfer payment.
- Reverse payment - Cancel the bank transfer payment if it's an open batch.
- Refund payment - Run a referenced refund to return funds to the customer's bank account.
Payment methods
Our gateway accepts the following payment methods:
- Automated clearing house (ACH) details
- Pre-authorized debit (PAD) details
You can also use secure tokens and single-use tokens that you created from ACH details or PAD details.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/bank-transfer-payments
- AuthHTTP bearer
Headers
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request body
Response
Successful request. We processed the sale.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status - info
the
//request property's maxLength was increased from100to255
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning