Create a satispay payment
How to create a satispay payment via API
To create a new satispay payment, send a POST
request to the /api/satispay_payments
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/satispay_payments
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.flow |
| Required, default to 'match_code' |
attributes.redirect_url |
| Optional |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
attributes.metadata |
| Optional |
relationships.order |
| Required |
Example
The following request creates a new satispay payment:
Last updated