Create cardholder
curl --request POST \
--url https://business.planewallet.org/api/v1/holders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "jsmith@example.com",
"externalId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', email: 'jsmith@example.com', externalId: '<string>'})
};
fetch('https://business.planewallet.org/api/v1/holders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://business.planewallet.org/api/v1/holders"
payload = {
"name": "<string>",
"email": "jsmith@example.com",
"externalId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"email": "<string>",
"kind": "<string>",
"status": "<string>",
"externalId": "<string>"
}{
"statusCode": 123,
"message": "<string>"
}Cardholders
Create cardholder
Required permission: holders:write. Sandbox is isolated from live funds. Live integration availability is checked server-side.
POST
/
api
/
v1
/
holders
Create cardholder
curl --request POST \
--url https://business.planewallet.org/api/v1/holders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "jsmith@example.com",
"externalId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', email: 'jsmith@example.com', externalId: '<string>'})
};
fetch('https://business.planewallet.org/api/v1/holders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://business.planewallet.org/api/v1/holders"
payload = {
"name": "<string>",
"email": "jsmith@example.com",
"externalId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"email": "<string>",
"kind": "<string>",
"status": "<string>",
"externalId": "<string>"
}{
"statusCode": 123,
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json