New: Stripe & TossPayments integration guides now available →
cURL
curl --request POST \ --url https://api.headlesscommerce.io/v1/admin/orders/{id}/payments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": 123, "provider": "<string>", "note": "<string>" } '
{ "id": "<string>", "order_id": "<string>", "provider": "<string>", "provider_id": "<string>", "amount": { "amount": 123, "currency": "<string>" }, "status": "pending", "created_at": "2023-11-07T05:31:56Z" }
Records a manual payment such as bank transfer. Set provider to “manual” and confirm via the complete endpoint after verification.
API Key. Example: sk_live_xxxxx or pk_live_xxxxx
Resource ID
Payment amount (smallest currency unit)
'manual', 'bank_transfer', etc.
Note (depositor name, etc.)
생성됨
Show child attributes
pending
completed
failed
cancelled
refunded