Integrate in 4 Steps
Use these steps to authenticate, create invoice, and check status quickly.
Start creating and tracking invoices in minutes.
Use these steps to authenticate, create invoice, and check status quickly.
https://merchant.letsia-pay.com/client-api
curl -X POST "https://merchant.letsia-pay.com/client-api/login" \
-H "Content-Type: application/json" \
-d '{
"email":"[email protected]",
"password":"secret",
"device_name":"postman"
}'
Use returned token in header:
Authorization: Bearer TOKEN_VALUE
curl -X POST "https://merchant.letsia-pay.com/client-api/invoices" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer TOKEN_VALUE" \
-d '{
"customer_email":"[email protected]",
"amount":150.75,
"title":"New Payment",
"payment_methods":[1,2]
}'
curl -X GET "https://merchant.letsia-pay.com/client-api/invoices/UID-1-001/status" \
-H "Authorization: Bearer TOKEN_VALUE"
reference can be either invoice_number or code.
access_token secure.401/403 by re-login flow.422 as business/validation errors.payment_link is immediate in live mode.