@tecafrik/africa-payment-sdk
Version:
A single SDK to integrate all african payment providers seamlessly
12 lines • 500 B
TypeScript
export declare class PaymentError extends Error {
readonly type: PaymentErrorType;
constructor(message: string, type?: PaymentErrorType);
}
export declare enum PaymentErrorType {
INVALID_AUTHORIZATION_CODE = "INVALID_AUTHORIZATION_CODE",
UNSUPPORTED_PAYMENT_METHOD = "UNSUPPORTED_PAYMENT_METHOD",
INVALID_PHONE_NUMBER = "INVALID_PHONE_NUMBER",
UNKNOWN_ERROR = "UNKNOWN_ERROR",
INVALID_OPERATION_CODE = "INVALID_OPERATION_CODE"
}
//# sourceMappingURL=payment-error.d.ts.map