Retrieve payment
Changed onUse this method to retrieve information about a bank transfer payment.
To retrieve a payment, you need its paymentId. Our gateway returned the paymentId in the response of the Create Payment method.
Note: If you don’t have the paymentId, use our List Payments method to search for the payment.
Our gateway returns the following information about the payment:
- Order details, including the transaction amount and when it was processed.
- Bank account details, including the customer’s name and account number.
- Customer’s details, including the customer’s phone number.
- Transaction details, including any refunds or re-presentments.
If the merchant saved the customer’s bank account details, our gateway returns a secureTokenID, which you can use to perform follow-on actions.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/bank-transfer-payments/{paymentId}
- AuthHTTP bearer
Path parameters
Unique identifier that our gateway assigned to the payment.
Response
Successful request. Returns the specific payment.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning