Refund Payin
Issues a partial or full refund for a confirmed payin. Only supported payment methods can be refunded.
For bank wire payins, a bankaccount_id is required to specify the refund destination.
Documentation Index
Fetch the complete documentation index at: https://docs.truust.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use your account's Secret Key as the Bearer token.
Path Parameters
Payin ID.
Body
Amount to refund. Defaults to full amount if not provided.
x >= 0Set to 1 to refund all payins associated with the order of this payin.
0, 1 Required if the payin is of Bankwire type. Bank account ID to receive the refund.
100Response
Payin with refund details
"/2.0/payins/456"
Provider's payment reference ID.
Payment method type (e.g. CARD, BANKWIRE, WALLET).
CREATED, AUTHORIZED, CONFIRMED, DENIED, REFUNDED, CANCELLED Raw provider response data.
Payment page URL. Only present when status is CREATED or AUTHORIZED.
Hypermedia links to related resources.
