Skip to content

Instantly share code, notes, and snippets.

@danielneu
Created September 20, 2018 09:10
Show Gist options
  • Save danielneu/44dc382b1c4890bbfc2f49ec7401320a to your computer and use it in GitHub Desktop.
Save danielneu/44dc382b1c4890bbfc2f49ec7401320a to your computer and use it in GitHub Desktop.
Amazon Pay for Alexa Skills Process Request
{
"type": "Connections.SendRequest",
"name": "Charge",
"payload": {
"@type": "ChargeAmazonPayRequest",
"@version": "2",
"sellerId": "AABBCCDDEE",
"billingAgreementId": "C02-5320354-ABCDEFG",
"paymentAction": "AuthorizeAndCapture",
"authorizeAttributes": {
"@type": "AuthorizeAttributes",
"@version": "2",
"authorizationReferenceId": "Y89dQ7zwExwXDzJh",
"authorizationAmount": {
"@type": "Price",
"@version": "2",
"amount": "6",
"currencyCode": "EUR"
},
"transactionTimeout": 0,
"sellerAuthorizationNote": "Thank you."
},
"sellerOrderAttributes": {
"@type": "SellerOrderAttributes",
"@version": "2",
"sellerOrderId": "fBCM1d",
"storeName": "<store name>",
"sellerNote": "Thank you."
}
},
"token": "Token.AFY2SXYZ"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment