/payment_links
Generated from openapi.yaml. 2 operations.Download the specification.
GET/v1/payment_links
List payment links
Requires your secret key as a bearer token.
Responses
| Status | Description |
|---|---|
200 | List of payment_link |
POST/v1/payment_links
Create a payment link
A reusable URL that starts a mandate. The returned url is relative to the checkout host.
Requires your secret key as a bearer token.
Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | no | |
payee | string | yes | Solana address that receives settlement |
mint | string | yes | |
amountPerPeriod | string | yes | Atomic units |
periodSeconds | integer | yes | |
trialSeconds | integer | no |
Responses
| Status | Description |
|---|---|
201 | payment_link with id |
400 | The mint is not on this merchant's accepted list |