Skip to content

Instantly share code, notes, and snippets.

@danielneu
Created September 20, 2018 09:07
Show Gist options
  • Save danielneu/2c01f955044622efe90ab9e324b43410 to your computer and use it in GitHub Desktop.
Save danielneu/2c01f955044622efe90ab9e324b43410 to your computer and use it in GitHub Desktop.
Amazon Pay for Alexa Skills Setup Response
{
"requestEnvelope": {
"version": "1.0",
"session": {
"new": true,
"sessionId": "amzn1.echo-api.session.012345",
"application": {
"applicationId": "amzn1.ask.skill.d23456"
},
"user": {
"userId": "amzn1.ask.account.AFXYZ",
"permissions": {
"consentToken": "eyJ0eXAiOiabcde",
"scopes": {
"payments:autopay_consent": {
"status": "GRANTED"
}
}
}
}
},
...
"request": {
"type": "Connections.Response",
"requestId": "amzn1.echo-api.request.78910",
"timestamp": "2018-09-20T09:02:52Z",
"locale": "de-DE",
"status": {
"code": "200",
"message": "OK"
},
"name": "Setup",
"payload": {
"billingAgreementDetails": {
"releaseEnvironment": "SANDBOX",
"billingAgreementStatus": "OPEN",
"creationTimestamp": "2018-09-19T13:31:26.439Z",
"billingAgreementId": "C02-5320354-ABCDEFG",
"billingAddress": {
"city": "Neunkirchen",
"countryCode": "DE",
"postalCode": "66538",
"name": "Liam Barker",
"addressLine2": "Meininger Strasse 58"
},
"checkoutLanguage": "de_DE"
}
},
"token": "Token.AFY2SXYZ"
}
},
...
"attributesManager": {},
"responseBuilder": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment