Create a billing info validation rule
How to create a billing info validation rule via API
To create a new billing info validation rule, send a POST
request to the /api/billing_info_validation_rules
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/billing_info_validation_rules
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.metadata |
| Optional |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
relationships.market |
| Required |
Example
The following request creates a new billing info validation rule:
Last updated