Skip to content

Command: payment.generatePaymentNumberByPrefix

Back to Index

Generates a payment number for a payment based on the given prefix

Body
prefixstring

Examples

Create new Payment with custom payment number
POST https://<hantera-hostname>/resources/actors/payment/new
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "create",
"body": {
"commands": [{
"type": "generatePaymentNumberByPrefix",
"prefix": "P_STRIPE_"
}
]
}
}]
Back to Index