Recurring(継続支払い) のChargePermissionには取引可能金額合計に上限がありますが、どの期間の合計になりますか?
当月の間における合計になります。(Recurring(継続支払い) では1つのChargePermissionに対して当月の間に100,000円まで取引可能です)
現時点の残りの取引可能金額はGetChargePermission APIのレスポンス情報に含まれるlimits.amountBalance.amountで確認ができます。
取引可能金額100,000円のうち、既に10,000円請求している状態のレスポンス情報
{
"status": 200,
"response": {
"chargePermissionId": "C03-3398114-4303294",
"chargePermissionReferenceId": null,
…
"limits": {
"amountLimit": {
"amount": "100000",
"currencyCode": "JPY"
},
"amountBalance": {
"amount": "90000",
"currencyCode": "JPY"
}
},
…
}
}
※翌月1日になった際に残りの取引可能金額がリセットされてlimits.amountBalance.amountは100000となります。
取引可能金額を超えてAPIを呼び出した時のエラーメッセージサンプル
{
"status": 400,
"response": {
"reasonCode": "PeriodicAmountExceeded",
"message": "You've exceeded the monthly limit for the Charge Permission and must wait until the next month to charge this buyer."
}
}
参考
関連するタグ