Clarify amount sent is in kobo not naria
Closed this issue · 1 comments
poshjosh commented
Using test secret key.
Sent request:
{
reference=MOFXw8mDx8Y6PpBAbCVF-1755789cc00,
callback_url=http://127.0.0.1:8080/from-payment-gateway?spec=a73de0d7f9bf7ac152e788d0e5337c3a93e0c7bc5e3fe98aaee1f1a7000bf8bec4a45904876d0a7f1c743d3eb45cc42f4bc9cc2c9cbe68c495ecbbbcd7f894fe&v=1&success=true,
amount=777.00,
email=looseboxes@gmail.com
}
Received response JSON:
{
"data": {
"reference": "MOFXw8mDx8Y6PpBAbCVF-1755789cc00",
"authorization_url": "https://checkout.paystack.com/ti6crtvtdh4egjv",
"access_code": "ti6crtvtdh4egjv"
},
"message": "Authorization URL created",
"status": true
}
Browsed to the authorization_url
Expected amount: 777
Actual amount: 7.77
I would like to clarify that the amount sent to the Paystack API is considered
to be in kobo
and not that some currency exchange rate is applied to alter it
from 777
to 7.77
.
Thanks
SeunAdelekan commented
Hello @poshjosh, yes, the amounts sent are in kobo. Cheers