check_pending_charge: Check Pending Charge

Description Usage Arguments

Description

When you get "pending" as a charge status or if there was an exception when calling any of the /charge endpoints, wait 10 seconds or more, then make a check to see if its status has changed. Don't call too early as you may get a lot more pending than you should.

Usage

1
check_pending_charge(authorization, reference)

Arguments

authorization

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

reference

string. REQUIRED The reference to check


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