Add money to a Wallet with checkout link
Query parameters
currencyCodestringRequired
The currency code. The currency code must be a valid ISO 4217 currency code.
amountnumber · doubleRequired
The amount to add. The amount must be greater than 0.
returnLinkstring · uriRequired
The return link after the payment is successful.
cancelLinkstring · uriRequired
The cancel link after the payment is canceled.
testModebooleanOptionalDefault:
The test mode. By default, it is false.
false
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-KeystringRequiredExample:
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
401
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
application/json
429
The user has exceeded the rate limit.
application/json
post
POST /api/v1/wallets/add-money/checkout-link HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": "https://example.com/checkout",
"errors": []
}
Last updated
Was this helpful?