v1
latestOpenAPI 3.0.02026-07-147249104.6 KBcustom-gateway : Process payments and refunds
Adds a 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/payment/{ownershipId}
Path parameters
ownershipIdstring required
The id of the ownership record involved in this transaction
Query parameters
amountinteger required
The total amount paid in cents
dateinteger
The date (in milliseconds) of when this payment was made
feeAmountinteger
The fee (in cents) paid to a payment processors or third parties to process this payment. Default is 0.
marketplaceAmountinteger
The amount (in cents) paid to the marketplace owner as a commission for the purchase of this app. Defaults based on the commission amount configured for this marketplace.
developerAmountinteger
The amount (in cents) paid to the owner of the app. Defaults based on the commission amount configured for this marketplace.
customDatastring
A custom JSON object to attach to this transaction
Response
OK