v1
latestOpenAPI 3.0.02026-07-147249104.6 KBcustom-gateway : Process payments and refunds
Fully or partially refund payment for an app on behalf of a user
- Results are returned for the market provided within the basic authentication credentials
- Payments must be enabled and 'Custom' must be selected as the gateway in order to use this API endpoint
post/custom-gateway/refund/{ownershipId}
Path parameters
ownershipIdstring required
The id of the ownership record involved in this transaction
Query parameters
amountinteger required
The total amount refunded in cents
dateinteger
The date (in milliseconds) of when this refund was made
feeAmountinteger
The fee (in cents) recovered from a payment processor or third party to process this payment. The default value is 0
marketplaceAmountinteger
The amount (in cents) recovered from the marketplace owner as a commission refund for the purchase of this app
developerAmountinteger
The amount (in cents) recovered from the owner of the app
customDatastring
A custom JSON object to attach to this transaction
Response
OK