Create Wallet PayPal Order

View as Markdown
Creates a PayPal order for wallet top-up. Required body fields: `currencyCode`, `cost`. Response fields: `message`, `orderId`. Possible errors: - 404: Currency not found - supplied currency code is unknown. - 400: Payment method is disabled - PayPal is not active for the currency. - 400: Missing One or More Required Parameters - required body/query fields were not supplied. - 401: Unauthorized - token is missing, expired, invalid, or the account/token pair was not found. - 403: Access denied - gateway traffic guard/rate policy blocked the request. - 429: Too many requests - gateway rate limit exceeded. - 500: Unexpected Error - unhandled gateway or downstream service failure.

Request

This endpoint expects an object.
costintegerRequired
currencyCodestringRequired

Response

OK
key_0integer
key_1string
key_2double
key_3string
key_4boolean

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error