v1

latestOpenAPI 3.1.02026-07-2416040.8 KB

Créer une Order pour un Payment existant

post/payments/{payment_id}/orders

Path parameters

payment_idstring required

ID du payment sur lequel créer l'order

Request body

Response

200

{"stackTrail":"paths:/payments/{payment_id}/orders:post:responses:200:content:application/json:schema:items:properties:comment","oasType":"schema","type":"unknown"}
createdinteger
customer_urlstring
dataobject
idstring
merchant_referencestring
merchant_urlstring
paymentstring
updatedinteger

Example response

[
  {
    "created": 1645059062,
    "customer_url": "https://myshop.com/my-account/orders/W20220605517329",
    "id": "order_11u6ZY7Bjhh50ew29rpZyUI32InCs5pSxF",
    "merchant_reference": "W20220605517329",
    "merchant_url": "https://myshop.com/admin/orders/124829",
    "payment": "payment_11u2pTVQCZgmoJT5ryxkYWgjhdft2teQD2",
    "updated": 1645059062
  }
]