Skip to content
← Back to Index

Command: payment.generatePaymentNumberByPrefix

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

Body
prefixstring

Examples

Create new Payment with custom payment number
```json [{ "type": "create", "body": { "commands": [{ "type": "generatePaymentNumberByPrefix", "prefix": "P_STRIPE_" } ] } }] ```

© 2024 Hantera AB. All rights reserved.