Astral Money
  • Astral Money
  • Merchants
    • Account Setup
    • Installation
    • Testing
  • Developers
    • Account Setup
    • Creating a Payment Order
    • Retrieving a Payment Order
    • Retrieving All Payment Orders For A Merchant
  • Legal
    • Privacy Policy
    • Terms & Conditions
    • Cookies Policy
    • Acceptable Use
Powered by GitBook
On this page

Was this helpful?

  1. Developers

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

{
    // Response
}
{
    // Response
}
{
    // Response
}
PreviousAccount SetupNextRetrieving a Payment Order

Last updated 3 years ago

Was this helpful?