注文をキャンセルする


エラー

すべての API エンドポイントに当てはまる エラー に加えて、以下は注文のキャンセル時にのみ返されるエラーです。

ステータスコード エラーコード 説明
404 order.not-found 条件に合う注文が見つかりませんでした。正しい orderId と API キーを使用してください。テストモードのオブジェクトには、テストキーを使用してのみアクセスすることができ、ライブモードのオブジェクトには、ライブキーを使用してのみアクセスできます。
409 order.cannot-cancel 注文はキャンセルできないステータスにあります。注文がキャンセルできるのは、requires_capture または canceled ステータスの場合のみです。
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the Order object.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json