Skip to main content
POST
/
v1
/
invoices
Create invoice
curl --request POST \
  --url https://api.meum.io/v1/invoices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "external_order_id": "order_demo_1048",
  "amount": "100.00",
  "store_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "currency": "USD",
  "callback_url": "<string>",
  "return_url": "<string>",
  "metadata": {}
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "invoiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "checkout_url": "https://pay.meum.io/inv_demo_123",
  "payment_url": "<string>",
  "amount": "<string>",
  "currency": "<string>",
  "output_asset": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Store-scoped API key (sk_live_...)

Body

application/json
external_order_id
string
required
Example:

"order_demo_1048"

amount
string
required
Example:

"100.00"

store_id
string<uuid>
integration_id
string<uuid>
currency
string
default:USD
callback_url
string<uri>
return_url
string<uri>
metadata
object

Response

Created

id
string<uuid>
invoiceId
string<uuid>
status
string
checkout_url
string<uri>
Example:

"https://pay.meum.io/inv_demo_123"

payment_url
string<uri>
amount
string
currency
string
output_asset
string
expires_at
string<date-time>