Credit sandbox funds
curl --request POST \
--url https://business.planewallet.org/api/v1/sandbox/funding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"amount": "50.00"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({amount: '50.00'})
};
fetch('https://business.planewallet.org/api/v1/sandbox/funding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://business.planewallet.org/api/v1/sandbox/funding"
payload = { "amount": "50.00" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{
"statusCode": 123,
"message": "<string>"
}Sandbox
Credit sandbox funds
Required permission: cards:write. Sandbox is isolated from live funds. Live integration availability is checked server-side.
POST
/
api
/
v1
/
sandbox
/
funding
Credit sandbox funds
curl --request POST \
--url https://business.planewallet.org/api/v1/sandbox/funding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"amount": "50.00"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({amount: '50.00'})
};
fetch('https://business.planewallet.org/api/v1/sandbox/funding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://business.planewallet.org/api/v1/sandbox/funding"
payload = { "amount": "50.00" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{
"statusCode": 123,
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Pattern:
^\d+(\.\d{1,2})?$Example:
"50.00"
Response
Success
The response is of type object.