システムとAmazon Payの同期
Amazon Payオブジェクト状態の遷移
Amazon Payオブジェクト(Billing Agreementオブジェクト、Order Referenceオブジェクト、オーソリオブジェクト、売上請求オブジェクト、返金オブジェクト)は様々支払処理の特定のステータスに遷移します。これらの状態遷移はシステムやAmazon内部のビジネスルールによって特定の処理が実行されます。
例えば、非同期モードでリクエストしたオーソリオブジェクトは、最初にPending状態になって処理が開始されます。処理が完了した後は、それはOpen状態に遷移し、資金を売上請求する準備になったことを示します。オーソリオブジェクトが売上請求された後は、それはClosed状態に遷移し、オーソリに対して売上請求できる資金が無いことを示します。あるいは、30日以内にオーソリを売上請求しなかった場合は、Amazonは Closedにします。インテグレーションエラーを防止するために、システムとAmazonのシステムのAmazon Payオブジェクトの現在の状態を同期する必要があります。
Amazon Payオブジェクト状態遷移についての詳細情報は、Amazon Pay APIレファレンスガイド内のステータスと理由コードを参照してください。
さらに、Amazonは購入が完了した後に購入者が支払方法の更新や変更を許可しています。これはBilling Agreementを更新した結果かもしれません。カスタマーサービスとビジネス処理をサポートするためにこのような変更について知りたいかもしれません。
API呼び出しの最初のレスポンス
最初のリクエストが実行された時のレスポンス結果はそれぞれの処理によって異なります。
- AuthorizeOnBillingAgreement - この呼び出しの非同期レスポンスは、常にPending状態を返します。同期のAuthorizeOnBillingAgreementリクエストはOpenかDeclinedを返します。
- Capture - 売上請求はリアルタイムで処理されます。この期間では、売上請求リクエストの同期レスポンスはCompletedかDeclinedの状態を返します。
- Refund - 返金リクエストはリアルタイムで処理されません。返金リクエストの最初のレスポンスは常にPendingです。
AuthorizeOnBillingAgreement、Capture、RefundのAPI呼び出しの最初のレスポンスを次の表で表します。
APC 呼び出し | API 呼び出しの最初のレスポンス |
AuthorizeOnBillingAgreement |
同期モード : OpenかDeclinedのどちらか
非同期モード :常にPending |
Capture | Completed、Pending、 Declinedのいずれか |
Refund | 常にPending |
インスタント支払通知メッセージハンドリングのベストプラクティス
取得API呼び出しの実行
Billing AgreementオブジェクトやOrder Referenceオブジェクト等の変更が行われた時に、Amazonは非同期のインスタント支払通知(IPN)メッセージを送信します。多くの要求によってこれらの通知が送信され、システム内で状態を更新したり、フルフィルメントシステムで注文管理を行う場合に利用できます。インスタント支払通知(IPN)を受け取った後でのベストプラクティスはそれぞれの通知を受け取ったオブジェクトの取得処理を実行することです。
セキュアなインスタント支払通知(IPN)処理
なりすまし攻撃を防御するためには、メッセージの安全性を確かめインスタント支払通知(IPN)署名を確認しなければなりません。
AmazonのSDKを利用している場合はこれらの確認は取り扱われています。利用していない場合は、AmazonSNSメッセージ署名の確認で記述している、または、SDKで導入されているのと同様の確認を利用してください。
Amazon Payオブジェクト状態遷移のモニタリング
Amazon Payオブジェクトの状態遷移をモニタリングするためにインスタント支払通知(IPN)を利用できます。インスタント支払通知(IPN)はAmazon Payオブジェクトの状態が変更されると自動的に通知されます。インスタント支払通知(IPN)を受け取った後は、あなたはAmazon Payオブジェクトの完全な詳細を得るために、GetBillingAgreementDetails、GetAuthorizationDetails、GetCaptureDetails、GetRefundDetails処理を利用して情報を取得できます。
インスタント支払通知(IPN)のサンプル
多くのAmazon PayオブジェクトやBilling Agreementオブジェクトの変更された状態をAmazonは通知として送ります。多くの要求によってこれらの通知が送信され、システム内で状態を更新したり、フルフィルメントシステムで注文管理行う場合に利用できます。
セラーセントラルにアクセスして、設定のインテグレーション設定ページに通知エンドポイントをセットアップできます。
例えば、オーソリオブジェクトがPending状態からOpen状態へ遷移されたことをAmazonが通知します。この遷移は、AuthorizeOnBillingAgreement処理の呼び出しが成功し、注文をフルフィルメント処理を進めることができることを確認したことになります。
それぞれの通知を受け取った後は、Amazonへ"200 OK"のレスポンスを直ちに送信するようにエンドポイントを構成しなければなりません。このレスポンスを送らなかった場合では、Amazonは14日の間に毎時間リトライを実行します。サーバがダウンしている場合は、4XXのエラーメッセージが送信され、Amazonからリトライされません。
注意:ほとんどの場合、それぞれの通知は、販売事業者のアプリケーションに正確に通達されます。また、Amazonの理由により一時的に重複したメッセージが送信されます。複数のインスタント支払通知(IPN)メッセージを受信しても支払ワークフローが誤動作しないように、アプリケーションを設計してください。
NotificationDataメンバーのコンテンツは次の一般的に直ぐに利用できるXSDによって記述されて、インスタント支払通知(IPN)の中で返されます。
全てのインスタント支払通知(IPN)はAmazonによって署名されて返ります。
次はAmazonから利用できる通知のリストです。
- BillingAgreementNotification
- OrderReferenceNotification
- AuthorizationNotification
- CaptureNotification
- ChargebackNotification
- RefundNotification
これらのインスタント支払通知(IPN)はAmazon Payオブジェクトのステータスが更新された場合に発生します。さらに、購入者が支払方法、または、Billing Agreementに関連する住所を更新する場合もインスタント支払通知(IPN)を送信します。BillingAgreementNotificationの通知が送信された理由の説明としてEventTypeパラメータを含みます。 EventTypeパラメータは4つの可能な値を持っています。
- StatusUpdated
- PaymentMethodUpdated
- AddressUpdated
- AddressAndPaymentMethodUpdated
次のサンプルはBillingAgreementNotificationを表します。
POST / HTTP/1.1
x-amz-sns-message-type: Notification
x-amz-sns-message-id: 432f33bf-9f84-5004-815f-7a6cfEXAMPLE
x-amz-sns-topic-arn: arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic
x-amz-sns-subscription-arn:
arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic: EXAMPLE
Content-Length: 961
Content-Type: text/plain; charset=UTF-8
Host: ec2-EXAMPLE.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent
{
"Type" : "Notification",
"MessageId" : "cf5543af-dd65-5f74-8ccf-0a410EXAMPLE",
"TopicArn" : "arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic",
"Message" :
"{"NotificationReferenceId":"48305092-c8ae-424c-a886-
09d3aa48888e","MarketplaceID":"165580",
"NotificationType":"BillingAgreementNotification",
"SellerId":" YOUR_SELLER_ID_HERE
","ReleaseEnvironment":"Sandbox","EventType":"PaymentMethodUpdated",
"Version":"2013-01-01",
"NotificationData":"\n
\n
C01-9478069-example
<\/AmazonBillingAgreementId>\n
\n
YOUR_SELLER_ID<\/SellerId>\n
<\/SellerBillingAgreementAttributes>\n
\n
Open<\/State>\n
2014-01-07T07:28:06.582Z
<\/LastUpdateTimestamp>\n
<\/BillingAgreementStatus>\n
2014-01-07T07:26:16.775Z
<\/CreationTimestamp>\n
\n
\n
500.0<\/Amount>\n
USD<\/CurrencyCode>\n
<\/AmountLimitPerTimePeriod>\n
2014-01-01T00:00:00.000Z
<\/TimePeriodStartDate>\n
2014-02-01T00:00:00.000Z
<\/TimePeriodEndDate>\n
\n
500.0<\/Amount>\n
USD<\/CurrencyCode>\n
<\/CurrentRemainingBalance>\n
<\/BillingAgreementLimits>\n
true
<\/BillingAgreementConsent>\n
<\/BillingAgreement>\n
<\/BillingAgreementNotification>","Timestamp":"2014-01-11T01:44:42Z"}
",
"Timestamp" : "2013-04-22T06:00:15.108Z",
"SignatureVersion" : "1",
"Signature" : "deako5R0...CVmPQOI=",
"SigningCertURL" : "https://sns.EXAMPLE.amazonaws.com/
SimpleNotificationService-f3ecfb7224c7233fe7bb5f59fEXAMPLE.pem",
"UnsubscribeURL" : "https://sns.EXAMPLE.amazonaws.com/
?Action=Unsubscribe
&SubscriptionArn=arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic:GUID"
}
次のサンプルはOrderReferenceNotificationを表します。
POST / HTTP/1.1
x-amz-sns-message-type: Notification
x-amz-sns-message-id: 432f33bf-9f84-5004-815f-7a6cfEXAMPLE
x-amz-sns-topic-arn: arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic
x-amz-sns-subscription-arn:
arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic: EXAMPLE
Content-Length: 961
Content-Type: text/plain; charset=UTF-8
Host: ec2-EXAMPLE.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent
{
"Type" : "Notification",
"MessageId" : "cf5543af-dd65-5f74-8ccf-0a410EXAMPLE",
"TopicArn" : "arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic",
"Message" :
"{\"NotificationReferenceId\":\"32d195c3-a829-4222-b1e2-14ab2EXAMPLE\",
\"NotificationType\":\"OrderReferenceNotification\",
\"SellerId\":\"YOUR_SELLER_ID_HERE\",
\"ReleaseEnvironment\":\"Sandbox\",
\"Version\":\"2013-01-01\",
\"NotificationData\":
\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>
<OrderReferenceNotification
xmlns=\\\"https://mws.amazonservices.com/
ipn/OffAmazonPayments/2013-01-01\\\">\\n
<OrderReference>\\n
<AmazonOrderReferenceId>
S23-1234567-1234567
<\\/AmazonOrderReferenceId>\\n
<OrderTotal>\\n
<Amount>106.00<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/OrderTotal>\\n
<OrderReferenceStatus>\\n
<State>CLOSED<\\/State>\\n
<ReasonCode>SellerClosed<\\/ReasonCode>\\n
<LastUpdateTimestamp>
2013-04-01T10:49:59.532Z
<\\/LastUpdateTimestamp>\\n
<\\/OrderReferenceStatus>\\n
<CreationTimestamp>2013-03-30T09:58:51.234Z<\\/CreationTimestamp>\\n
<ExpirationTimestamp>
2013-04-06T09:58:51.234Z
<\\/ExpirationTimestamp>\\n
<\\/OrderReference>\\n
<\\/OrderReferenceNotification>\",
\"Timestamp\":\"2013-04-22T06:00:14Z\"}",
"Timestamp" : "2013-04-22T06:00:15.108Z",
"SignatureVersion" : "1",
"Signature" : "deako5R0...CVmPQOI=",
"SigningCertURL" : "https://sns.EXAMPLE.amazonaws.com/
SimpleNotificationService-f3ecfb7224c7233fe7bb5f59fEXAMPLE.pem",
"UnsubscribeURL" : "https://sns.EXAMPLE.amazonaws.com/
?Action=Unsubscribe
&SubscriptionArn=arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic:GUID"
}
次のサンプルはAuthorizationNotificationを表します。
POST / HTTP/1.1
x-amz-sns-message-type: Notification
x-amz-sns-message-id: 6f7e123e-49c9-5c9d-a389-5bed0EXAMPLE
x-amz-sns-topic-arn: arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic
x-amz-sns-subscription-arn:
arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic: EXAMPLE
Content-Length: 961
Content-Type: text/plain; charset=UTF-8
Host: ec2-EXAMPLE.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent
{
"Type" : "Notification",
"MessageId" : "cf5543af-dd65-5f74-8ccf-0a410EXAMPLE",
"TopicArn" : "arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic",
"Message" :
"{\"NotificationReferenceId\":\"32d195c3-a829-4222-b1e2-14ab28909513\",
\"NotificationType\":\"PaymentAuthorize\",
\"SellerId\":\"YOUR_SELLER_ID_HERE\",
\"ReleaseEnvironment\":\"Sandbox\",
\"Version\":\"2013-01-01\",
\"NotificationData\":
\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>
<AuthorizationNotification
xmlns=\\\"https://mws.amazonservices.com/
ipn/OffAmazonPayments/2013-01-01\\\">\\n
<AuthorizationDetails>\\n
<AmazonAuthorizationId>
S23-1234567-1234567-0000001
<\\/AmazonAuthorizationId>\\n
<AuthorizationReferenceId>
9bbe88cd5ab4435b85d717fd8EXAMPLE
<\\/AuthorizationReferenceId>\\n
<AuthorizationAmount>\\n
<Amount>5.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/AuthorizationAmount>\\n
<CapturedAmount>\\n
<Amount>0.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/CapturedAmount>\\n
<AuthorizationFee>\\n
<Amount>0.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/AuthorizationFee>\\n
<IdList/>\\n
<CreationTimestamp>2013-04-22T05:59:38.186Z<\\/CreationTimestamp>\\n
<ExpirationTimestamp>
2013-05-22T05:59:38.186Z
<\\/ExpirationTimestamp>\\n
<AuthorizationStatus>\\n
<State>Open<\\/State>\\n
<LastUpdateTimestamp>
2013-04-22T06:00:11.473Z
<\\/LastUpdateTimestamp>\\n
<\\/AuthorizationStatus>\\n
<OrderItemCategories/>\\n
<CaptureNow>false<\\/CaptureNow>\\n
<SoftDescriptor/>\\n
<\\/AuthorizationDetails>\\n
<\\/AuthorizationNotification>\",
\"Timestamp\":\"2013-04-22T06:00:14Z\"}",
"Timestamp" : "2013-04-22T06:00:15.108Z",
"SignatureVersion" : "1",
"Signature" : "W/cfaDzC...5glwqJk=",
"SigningCertURL" : "https://sns.EXAMPLE.amazonaws.com/
SimpleNotificationService-f3ecfb7224c7233fe7bb5f59fEXAMPLE.pem",
"UnsubscribeURL" : "https://sns.EXAMPLE.amazonaws.com/
?Action=Unsubscribe
&SubscriptionArn=arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic:GUID"
}
次のサンプルはCaptureNotificationを表します。
POST / HTTP/1.1
x-amz-sns-message-type: Notification
x-amz-sns-message-id: 64f5f75c-5799-53e5-b4c3-be8f1EXAMPLE
x-amz-sns-topic-arn: arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic
x-amz-sns-subscription-arn:
arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic: EXAMPLE
Content-Length: 961
Content-Type: text/plain; charset=UTF-8
Host: ec2-EXAMPLE.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent
{
"Type" : "Notification",
"MessageId" : "cf5543af-dd65-5f74-8ccf-0a410EXAMPLE",
"TopicArn" : "arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic",
"Message" :
"{\"NotificationReferenceId\":\"32d195c3-a829-4222-b1e2-14ab2EXAMPLE\",
\"NotificationType\":\"PaymentCapture\",
\"SellerId\":\"YOUR_SELLER_ID_HERE\",
\"ReleaseEnvironment\":\"Sandbox\",
\"Version\":\"2013-01-01\",
\"NotificationData\":
\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>
<CaptureNotification
xmlns=\\\"https://mws.amazonservices.com/
ipn/OffAmazonPayments/2013-01-01\\\">\\n
<CaptureDetails>\\n
<AmazonCaptureId>S23-1234567-1234567-0000002<\\/AmazonCaptureId>\\n
<CaptureReferenceId>
6f4d9dea0c234279a65e77994EXAMPLE
<\\/CaptureReferenceId>\\n
<CaptureAmount>\\n
<Amount>5.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/CaptureAmount>\\n
<RefundedAmount>\\n
<Amount>0.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/RefundedAmount>\\n
<CaptureFee>\\n
<Amount>0.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/CaptureFee>\\n
<IdList/>\\n
<CreationTimestamp>2013-04-22T06:02:22.026Z<\\/CreationTimestamp>\\n
<CaptureStatus>\\n
<State>Completed<\\/State>\\n
<LastUpdateTimestamp>
2013-04-22T06:02:25.227Z
<\\/LastUpdateTimestamp>\\n
<\\/CaptureStatus>\\n
<SoftDescriptor>AMZ*softdescriptor<\\/SoftDescriptor>\\n
<\\/CaptureDetails>\\n
<\\/CaptureNotification>\",
\"Timestamp\":\"2013-04-22T06:00:14Z\"}",
"Timestamp" : "2013-04-22T06:00:15.108Z",
"SignatureVersion" : "1",
"Signature" : "dUWd9lrs...iNGKnR4=",
"SigningCertURL" : "https://sns.EXAMPLE.amazonaws.com/
SimpleNotificationService-f3ecfb7224c7233fe7bb5f59fEXAMPLE.pem",
"UnsubscribeURL" : "https://sns.EXAMPLE.amazonaws.com/
?Action=Unsubscribe
&SubscriptionArn=arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic:GUID"
}
次のサンプルはChargebackNotificationを表します。
POST / HTTP/1.1
x-amz-sns-message-type: Notification
x-amz-sns-message-id: 0000000-0000-00000-0000-00000EXAMPLE
x-amz-sns-topic-arn: arn:aws:sns:EXAMPLE:11111EXAMPLE:TestTopic
x-amz-sns-subscription-arn: arn:aws:sns:EXAMPLE:11111EXAMPLE:TestTopic: EXAMPLE
Content-Length: 999
Content-Type: text/plain; charset=UTF-8
Host: ec2-EXAMPLE.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent
{
"Type" : "Notification",
"MessageId" : "xxxxxx-xxxx-xxxx-xxxx-xxxxxEXAMPLE",
"TopicArn" : "arn:aws:sns:EXAMPLE:11111EXAMPLE:TestTopic",
"Message" :
"{"ReleaseEnvironment":"Live",
"MarketplaceID":"165570",
"Version":"2013-01-01",
"NotificationType":"ChargebackDetailedNotification",
"SellerId":"YOUR_SELLER_ID_HERE",
"NotificationReferenceId":"75d52458-a3a9-4ecc-8663-f1a66b3831d2",
"Timestamp":"2017-09-07T16:49:16.489Z",
"NotificationData":"
\n
C31EKEWMLB6AK9Example P01-0665952-9296413
AuthReference8671591Example
2017-05-31T20:42:34.894Z
2.0
USD
RECEIVED
Generic Service Chargeback
"}",
Timestamp" : "2013-01-01T01:01:001Z",
"SignatureVersion" : "1",
"Signature" : "rkne..9=kOUhF",
"SigningCertURL" : "https://sns.EXAMPLE.amazonaws.com/SimpleNotificationService-aaaaaabbbbbbccccccEXAMPLE.pem",
"UnsubscribeURL" : "https://sns.EXAMPLE.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:EXAMPLE:11111EXAMPLE:TestTopic:GUID"
}
次のサンプルはRefundNotificationを表します。
POST / HTTP/1.1
x-amz-sns-message-type: Notification
x-amz-sns-message-id: 5f43584c-1f96-5880-9c98-119f5EXAMPLE
x-amz-sns-topic-arn: arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic
x-amz-sns-subscription-arn:
arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic: EXAMPLE
Content-Length: 961
Content-Type: text/plain; charset=UTF-8
Host: ec2-EXAMPLE.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent
{
"Type" : "Notification",
"MessageId" : "cf5543af-dd65-5f74-8ccf-0a410EXAMPLE",
"TopicArn" : "arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic",
"Message" :
"{\"NotificationReferenceId\":\"32d195c3-a829-4222-b1e2-14ab2EXAMPLE\",
\"NotificationType\":\"PaymentRefund\",
\"SellerId\":\"YOUR_SELLER_ID_HERE\",
\"ReleaseEnvironment\":\"Sandbox\",
\"Version\":\"2013-01-01\",
\"NotificationData\":
\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>
<RefundNotification
xmlns=\\\"https://mws.amazonservices.com/
ipn/OffAmazonPayments/2013-01-01\\\">\\n
<RefundDetails>\\n
<AmazonRefundId>S23-1234567-1234567-0000003<\\/AmazonRefundId>\\n
<RefundReferenceId>
07fff0c4e05046958db7e47607e7db17
<\\/RefundReferenceId>\\n
<RefundType>SellerInitiated<\\/RefundType>\\n
<RefundAmount>\\n
<Amount>5.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/RefundAmount>\\n
<FeeRefunded>\\n
<Amount>0.0<\\/Amount>\\n
<CurrencyCode>USD<\\/CurrencyCode>\\n
<\\/FeeRefunded>\\n
<CreationTimestamp>2013-04-22T06:07:34.617Z<\\/CreationTimestamp>\\n
<RefundStatus>\\n
<State>Completed<\\/State>\\n
<LastUpdateTimestamp>
2013-04-22T06:09:20.178Z
<\\/LastUpdateTimestamp>\\n
<\\/RefundStatus>\\n
<SoftDescriptor>AMZ*softDescriptor<\\/SoftDescriptor>\\n
<\\/RefundDetails>\\n
<\\/RefundNotification>\",
\"Timestamp\":\"2013-04-22T06:00:14Z\"}",
"Timestamp" : "2013-04-22T06:00:15.108Z",
"SignatureVersion" : "1",
"Signature" : "kjac14DH...oQT6FbA=",
"SigningCertURL" : "https://sns.EXAMPLE.amazonaws.com/
SimpleNotificationService-f3ecfb7224c7233fe7bb5f59fEXAMPLE.pem",
"UnsubscribeURL" : "https://sns.EXAMPLE.amazonaws.com/
?Action=Unsubscribe
&SubscriptionArn=arn:aws:sns:EXAMPLE:59860EXAMPLE:TestTopic:GUID"
}
次のサンプルは、オーソリオブジェクトのステータスを取得するためのGetAuthorizationDetails処理の呼び出す方法は表します。
https://mws.amazonservices.com/OffAmazonPayments_Sandbox/2013-01-01
?AWSAccessKeyId=AKIAFBM3LG5JEEXAMPLE
&Action=GetAuthorizationDetails
&AmazonAuthorizationId=S23-1234567-1234567-0000001
&SellerId=YOUR_SELLER_ID_HERE
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2013-12-19T19%3A01%3A11Z
&Version=2013-01-01
&Signature=WlQ708aqyHXMkoUBk69Hjxj8qdh3aDcqpY71hVgEXAMPLE
GetAuthorizationDetails処理に含まれるリクエストパラメータ、レスポンス要素についての詳しい情報は、Amazon Pay APIリファレンスガイドのGetAuthorizationDetailsを参照してください。