Creating a Payment Order
POST
api.pay.astral.money/api/v1/orders
Creates a new payment order for a merchant
Headers
Name | Type | Description |
---|---|---|
authorization* | String | Astral Merchant API Key |
Request Body
Name | Type | Description |
---|---|---|
order_id* | String | The merchant tracking ID for the order. |
merchant* | String | Name of the merchant |
wallet* | String | Wallet address that the payment is to be made to |
amount* | Number | Exact amount to be paid to the merchant in decimal value. E.g $16.80 would be 16.80 |
currency* | String | Fiat currency the payment is to be made in. E.g USD |
redirect_uri* | String | URI where the user will be redirected to upon payment success |
webhook_url | String | A optional webhook URL to be triggered upon payment success |
Last updated