Created
September 20, 2018 09:13
-
-
Save danielneu/32156bb8c3289867d91c111fa6d27bcf to your computer and use it in GitHub Desktop.
Amazon Pay for Alexa Skills Charge Response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"requestEnvelope": { | |
"version": "1.0", | |
"session": { | |
"new": true, | |
"sessionId": "amzn1.echo-api.session.bcde", | |
"application": { | |
"applicationId": "amzn1.ask.skill.d2345" | |
}, | |
"user": { | |
"userId": "amzn1.ask.account.ABCDE", | |
"permissions": { | |
"consentToken": "eyJ0eXAiOijklm", | |
"scopes": { | |
"payments:autopay_consent": { | |
"status": "GRANTED" | |
} | |
} | |
} | |
} | |
}, | |
... | |
"request": { | |
"type": "Connections.Response", | |
"requestId": "amzn1.echo-api.request.f8910", | |
"timestamp": "2018-09-20T09:02:53Z", | |
"locale": "de-DE", | |
"status": { | |
"code": "200", | |
"message": "OK" | |
}, | |
"name": "Charge", | |
"payload": { | |
"authorizationDetails": { | |
"authorizationAmount": { | |
"amount": "6.00", | |
"currencyCode": "EUR" | |
}, | |
"capturedAmount": { | |
"amount": "6.00", | |
"currencyCode": "EUR" | |
}, | |
"softDescriptor": "AMZ*<merchant identifier>", | |
"expirationTimestamp": "2018-10-20T09:02:53.169Z", | |
"idList": [ | |
"S02-0307214-ABCDEFG-LMNOPQR" | |
], | |
"softDecline": false, | |
"authorizationStatus": { | |
"lastUpdateTimestamp": "2018-09-20T09:02:53.169Z", | |
"reasonCode": "MaxCapturesProcessed", | |
"state": "Closed" | |
}, | |
"authorizationFee": { | |
"amount": "0.00", | |
"currencyCode": "EUR" | |
}, | |
"captureNow": true, | |
"sellerAuthorizationNote": "Thank you.", | |
"creationTimestamp": "2018-09-20T09:02:53.169Z", | |
"amazonAuthorizationId": "S02-0307214-1830387-A069538", | |
"authorizationReferenceId": "Y89dQ7zwExwXDzJh" | |
}, | |
"amazonOrderReferenceId": "S02-0307214-ABCDEFG" | |
}, | |
"token": "Token.AFY2SXYZ" | |
} | |
}, | |
... | |
"attributesManager": {}, | |
"responseBuilder": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment