Generates a customer number for a customer based on the given prefix
prefix
POST https://<hantera-hostname>/resources/actors/customer/newAuthorization: Bearer <YOUR TOKEN>Content-Type: application/json [{ "type": "create", "body": { "commands": [{ "type": "generatePaymentNumberByPrefix", "prefix": "B2C" } ] }}]
curl -i -X POST \ https://<hantera-hostname>/resources/actors/customer/new \ -H 'Authorization: Bearer <YOUR TOKEN>' \ -H 'Content-Type: application/json' \ -d '[{ "type": "create", "body": { "commands": [{ "type": "generatePaymentNumberByPrefix", "prefix": "B2C" } ] }}]'
Invoke-WebRequest `-Uri "https://<hantera-hostname>/resources/actors/customer/new" `-Method POST ` `-Headers @{Authorization="Bearer <YOUR TOKEN>"; 'Content-Type'="application/json"}-Body '[{ "type": "create", "body": { "commands": [{ "type": "generatePaymentNumberByPrefix", "prefix": "B2C" } ] }}]'