|
3543 | 3543 | ] |
3544 | 3544 | }, |
3545 | 3545 | { |
3546 | | - "name": "Tokenize card details for one-off payments, using encrypted card details", |
| 3546 | + "name": "Tokenize card details for one-click payments, using encrypted card details", |
3547 | 3547 | "request": { |
3548 | 3548 | "method": "POST", |
3549 | 3549 | "header": [ |
|
3568 | 3568 | ], |
3569 | 3569 | "body": { |
3570 | 3570 | "mode": "raw", |
3571 | | - "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"encryptedCardNumber\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n},\n \"shopperReference\": \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", |
| 3571 | + "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"encryptedCardNumber\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\": \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n},\n \"shopperReference\": \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"shopperInteraction\": \"Ecommerce\",\n \"recurringProcessingModel\": \"CardOnFile\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", |
3572 | 3572 | "options": { |
3573 | 3573 | "raw": { |
3574 | 3574 | "language": "json" |
|
3594 | 3594 | ] |
3595 | 3595 | }, |
3596 | 3596 | { |
3597 | | - "name": "Tokenize card details for one-off payments", |
| 3597 | + "name": "Tokenize card details for one-click payments", |
3598 | 3598 | "request": { |
3599 | 3599 | "method": "POST", |
3600 | 3600 | "header": [ |
|
3619 | 3619 | ], |
3620 | 3620 | "body": { |
3621 | 3621 | "mode": "raw", |
3622 | | - "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"number\": \"4111111111111111\",\n \"expiryMonth\": \"03\",\n \"expiryYear\": \"2030\",\n \"holderName\": \"John Smith\",\n \"cvc\": \"737\"\n},\n \"shopperReference\": \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", |
| 3622 | + "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"number\": \"4111111111111111\",\n \"expiryMonth\": \"03\",\n \"expiryYear\": \"2030\",\n \"holderName\": \"John Smith\",\n \"cvc\": \"737\"\n},\n \"shopperReference\": \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"shopperInteraction\": \"Ecommerce\",\n \"recurringProcessingModel\": \"CardOnFile\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", |
3623 | 3623 | "options": { |
3624 | 3624 | "raw": { |
3625 | 3625 | "language": "json" |
|
3676 | 3676 | ], |
3677 | 3677 | "body": { |
3678 | 3678 | "mode": "raw", |
3679 | | - "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"number\": \"4111111111111111\",\n \"expiryMonth\": \"03\",\n \"expiryYear\": \"2030\",\n \"holderName\": \"John Smith\",\n \"cvc\": \"737\"\n},\n \"shopperReference\": \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", |
| 3679 | + "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"number\": \"4111111111111111\",\n \"expiryMonth\": \"03\",\n \"expiryYear\": \"2030\",\n \"holderName\": \"John Smith\",\n \"cvc\": \"737\"\n},\n \"shopperReference\": \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"shopperInteraction\": \"Ecommerce\",\n \"recurringProcessingModel\": \"CardOnFile\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", |
3680 | 3680 | "options": { |
3681 | 3681 | "raw": { |
3682 | 3682 | "language": "json" |
|
3861 | 3861 | ] |
3862 | 3862 | }, |
3863 | 3863 | { |
3864 | | - "name": "Make a one-off payment with a token and CVV", |
| 3864 | + "name": "Make a one-click payment with a token and CVV", |
3865 | 3865 | "request": { |
3866 | 3866 | "method": "POST", |
3867 | 3867 | "header": [ |
|
3912 | 3912 | ] |
3913 | 3913 | }, |
3914 | 3914 | { |
3915 | | - "name": "Make a one-off payment with a token and CVV, using encrypted card details", |
| 3915 | + "name": "Make a one-click payment with a token and CVV, using encrypted card details", |
3916 | 3916 | "request": { |
3917 | 3917 | "method": "POST", |
3918 | 3918 | "header": [ |
|
3958 | 3958 | ] |
3959 | 3959 | }, |
3960 | 3960 | "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " |
3961 | | -} |
3962 | | - ,"response": [ |
3963 | | - ] |
3964 | | - }, |
3965 | | - { |
3966 | | - "name": "Make a card payment with a token", |
3967 | | - "request": { |
3968 | | - "method": "POST", |
3969 | | - "header": [ |
3970 | | - { |
3971 | | - "key": "Content-Type", |
3972 | | - "value": "application/json", |
3973 | | - "description": "", |
3974 | | - "disabled": false |
3975 | | - }, |
3976 | | - { |
3977 | | - "key": "Accept", |
3978 | | - "value": "application/json", |
3979 | | - "description": "", |
3980 | | - "disabled": false |
3981 | | - }, |
3982 | | - { |
3983 | | - "key": "Idempotency-Key", |
3984 | | - "value": "", |
3985 | | - "description": "A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).", |
3986 | | - "disabled": true |
3987 | | - } |
3988 | | - ], |
3989 | | - "body": { |
3990 | | - "mode": "raw", |
3991 | | - "raw": "{\n \"amount\": {\n \"currency\": \"USD\",\n \"value\": 1000\n},\n \"reference\": \"Your order number\",\n \"paymentMethod\": {\n \"type\": \"scheme\",\n \"recurringDetailReference\": \"8315791039321763\"\n},\n \"shopperReference\": \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\": \"https://your-company.example.com/...\",\n \"merchantAccount\": \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\": \"ContAuth\"\n}", |
3992 | | - "options": { |
3993 | | - "raw": { |
3994 | | - "language": "json" |
3995 | | - } |
3996 | | - } |
3997 | | - }, |
3998 | | - "url": { |
3999 | | - "raw": "{{baseUrl}}/payments", |
4000 | | - "host": [ |
4001 | | - "{{baseUrl}}" |
4002 | | - ], |
4003 | | - "path": [ |
4004 | | - "payments" |
4005 | | - ], |
4006 | | - "variable": [ |
4007 | | - ], |
4008 | | - "query": [ |
4009 | | - ] |
4010 | | - }, |
4011 | | - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " |
4012 | 3961 | } |
4013 | 3962 | ,"response": [ |
4014 | 3963 | ] |
|
0 commit comments