Create Cardholder
Create a new cardholder
POST /v1/cardholders
Create a new cardholder
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
{
"email": "[email protected]",
"phone_number": "1234567890",
"first_name": "John",
"account_id": "ACCOUNT_ID"
}Response
{
"success": "Cardholder created successfully"
}{
"message": "The email field is required. (and 3 more errors)",
"errors": {
"email": [
"The email field is required."
],
"phone_number": [
"The phone number field is required."
],
"first_name": [
"The first name field is required."
],
"account_id": [
"The account id field is required."
]
}
}Last updated
Was this helpful?