Check Usage of Virtual SPEI Account
How to check usage of virtual SPEI account.
Payin by SPEI
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"used": 2000,
"unused": 1000
}{
"code": "40002",
"msg": "Business Failed",
"sub_code": "account-pool-run-out",
"sub_msg": "account pool run out"
}Example
curl --location --request POST 'https://gateway-test.pagsmile.com/virtual-account/spei/usage' \
--header 'Authorization: Basic MTYyNTgyOTIxNDUzMTY2Mzg6UGFnc21pbGVfc2tfZDUwMWQ1ZGNkNTI5OGQ5N2MwNmUzYjI4YjA2OWZjZmY3NDU5ZjY2NzNiMjFjMTFlYTY3NDM5MDgzOTZkOTYxNQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
* "app_id": "162************38",
* "timestamp": "2022-01-01 03:54:01"
}'Last updated