This commit is contained in:
Julien Lengrand-Lambert
2024-02-22 16:13:52 +01:00
commit 610eb4d5a9
26 changed files with 2407 additions and 0 deletions

19
PostOrders.ps1 Normal file
View File

@@ -0,0 +1,19 @@
<#
Request: POST /orders
Summary: Create an order
Description: Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods.
#>
curl -X POST https://checkout-test.adyen.com/v71/orders `
-H 'Accept: application/json' `
-H 'Content-Type: application/json' `
-d '{
"amount": {
"currency": "currency",
"value": 0
},
"expiresAt": "expiresAt",
"merchantAccount": "merchantAccount",
"reference": "reference"
}'