Updated JSON specifications

This commit is contained in:
aleksei
2021-03-22 10:13:51 +01:00
parent 3994bd7af2
commit 5836c436a2
41 changed files with 5210 additions and 2166 deletions

View File

@@ -31,6 +31,11 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"disableARecurringContract" : {
"$ref" : "#/components/examples/post-disable-disableARecurringContract"
}
},
"schema" : {
"$ref" : "#/components/schemas/DisableRequest"
}
@@ -111,6 +116,11 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"listAllRecurringDetails" : {
"$ref" : "#/components/examples/post-listRecurringDetails-listAllRecurringDetails"
}
},
"schema" : {
"$ref" : "#/components/schemas/RecurringDetailsRequest"
}
@@ -192,6 +202,14 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"scheduleAccountUpdaterWithCardData" : {
"$ref" : "#/components/examples/post-scheduleAccountUpdater-scheduleAccountUpdaterWithCardData"
},
"scheduleAccountUpdaterWithTokenData" : {
"$ref" : "#/components/examples/post-scheduleAccountUpdater-scheduleAccountUpdaterWithTokenData"
}
},
"schema" : {
"$ref" : "#/components/schemas/ScheduleAccountUpdaterRequest"
}
@@ -691,7 +709,46 @@
}
},
"examples" : {
"post-disable-disableARecurringContract" : {
"summary" : "Disable a recurring contract",
"value" : {
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID",
"recurringDetailReference" : "8314442372419167",
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT"
}
},
"post-listRecurringDetails-listAllRecurringDetails" : {
"summary" : "List all recurring details",
"value" : {
"recurring" : {
"contract" : "RECURRING"
},
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID",
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT"
}
},
"post-scheduleAccountUpdater-scheduleAccountUpdaterWithCardData" : {
"summary" : "Schedule AccountUpdater with card data",
"value" : {
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
"reference" : "YOUR_REFERENCE",
"card" : {
"expiryMonth" : "03",
"expiryYear" : "2030",
"holderName" : "Adyen Test",
"number" : "4111111111111111"
}
}
},
"post-scheduleAccountUpdater-scheduleAccountUpdaterWithTokenData" : {
"summary" : "Schedule AccountUpdater with token data",
"value" : {
"merchantAccount" : "YOUR_MERCHANT_ACCOUNT",
"reference" : "YOUR_REFERENCE",
"shopperReference" : "YOUR_UNIQUE_SHOPPER_ID",
"selectedRecurringDetailReference" : "8814232895168272"
}
}
}
}
}