curl --request POST \
--url https://api.paylora.org/api/v1/invoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 100,
"token_address": "0x203fC64C12a51C48755Cf77CB63c2F0618657cFD",
"network": "ARB_SEPOLIA"
}
'{
"success": true,
"data": {
"uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"user_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"status": "created",
"amount": 100,
"fee_amount": 5,
"token_address": "0xAbC123...",
"contract_address": "0xDeF456...",
"network": "ethereum",
"client": "0xDeF456...",
"hash": "0xHash123...",
"signature": "0xHash123...",
"message_id": "12345",
"channel_uuid": "12345",
"customer_id": "123456789",
"chain_id": 11155111,
"url": "app.paylora.org/checkout=token"
}
}Create invoice. Permissions [“customer”]
curl --request POST \
--url https://api.paylora.org/api/v1/invoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 100,
"token_address": "0x203fC64C12a51C48755Cf77CB63c2F0618657cFD",
"network": "ARB_SEPOLIA"
}
'{
"success": true,
"data": {
"uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"user_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"status": "created",
"amount": 100,
"fee_amount": 5,
"token_address": "0xAbC123...",
"contract_address": "0xDeF456...",
"network": "ethereum",
"client": "0xDeF456...",
"hash": "0xHash123...",
"signature": "0xHash123...",
"message_id": "12345",
"channel_uuid": "12345",
"customer_id": "123456789",
"chain_id": 11155111,
"url": "app.paylora.org/checkout=token"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource model
Indicates if the request was successful
true
The data returned by the API
Show child attributes
The UUID of the invoice
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
The UUID of the user associated with the invoice
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
The status of the invoice
created, paid, expired "created"
The amount of the invoice
100
The fee amount for the invoice
5
The token address for the invoice
"0xAbC123..."
The contract address for the invoice
"0xDeF456..."
The network of the transaction
"ethereum"
The client wallet address
"0xDeF456..."
The transaction hash
"0xHash123..."
Transaction Signature
"0xHash123..."
The message ID associated with the invoice
"12345"
The chat ID associated with the invoice
"12345"
The customer ID associated with the invoice
"123456789"
The chain ID of the blockchain network
11155111
Url of checkout page
"app.paylora.org/checkout=token"