Refund Payment
Changed onCreate a refund for a payin. Only completed payins are eligible for refunds.
A refund may still fail after being initially marked as SUCCESS; in such cases, you'll receive a callback with status = FAILED.
To simulate a failed refund in the sandbox, create a payin with amount = 101 and wait for it to complete — it does so asynchronously a few seconds after creation (see the Create Payment endpoint for details).
To refund a deposit, use the Create Refund endpoint from Accounts.
Request
- Base URLhttps://app2test.infiniaweb.com/infinia_api/v1/payments
- URLhttps://app2test.infiniaweb.com/infinia_api/v1/payments/refund/
- AuthHTTP basic
Headers
ID of a child company for authentication. If not provided, the parent company will be authenticated.
Request body
Response
Successful Response
Changes
- warning
the
request property's maxLength was set to512 - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning