Create account

Ability for a merchant to create a new account for use with wallet top ups.

SecurityapiKeyAuth
Request
Request Body schema: application/json
checkoutId
string <uuid>

ID of checkout to look up in order to create account for its org.

accountName
required
string^[a-zA-Z0-9\s&]+$

Account name.

accountNumber
required
string 8 characters ^\d{8}$

Account number.

sortCode
required
string 6 characters ^\d{6}$

Sort code.

Responses
200

successful operation

post/accounts
Request samples
application/json
{
  • "checkoutId": "a21b4d66-7585-4979-80ec-60ea35b35821",
  • "accountName": "string",
  • "accountNumber": "stringst",
  • "sortCode": "string"
}
Response samples
application/json
{
  • "success": true,
  • "message": "string",
  • "data": { }
}