수동 결제 생성
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>"
},
"created_at": "2023-11-07T05:31:56Z"
}Admin - 주문
수동 결제 생성
Records a manual payment such as bank transfer. Set provider to “manual” and confirm via the complete endpoint after verification.
POST
/
admin
/
orders
/
{id}
/
payments
수동 결제 생성
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>"
},
"created_at": "2023-11-07T05:31:56Z"
}인증
API Key. Example: sk_live_xxxxx or pk_live_xxxxx
경로 매개변수
Resource ID
본문
application/json
⌘I