check_authorization: Check Authorization

Description Usage Arguments Details

Description

Check Authorization

Usage

1
check_authorization(authorization, ...)

Arguments

authorization

set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY"

...

Body Params

amount

int32. REQUIRED Amount in kobo

authorization_code

string. REQUIRED Authorization code representing card you want charged

email

string. REQUIRED Customer's email address

currency

string. A currency for the amount we want to check

Details

In test mode, we will return insufficient funds for an amount greater than or equal 500,000 naira. This endpoint will only work for authorizations with for which brand is mastercard or visa


ebinabo/paystack documentation built on May 16, 2019, 8:16 p.m.