Skip to content

Latest commit

 

History

History
124 lines (87 loc) · 2 KB

File metadata and controls

124 lines (87 loc) · 2 KB

Charge

A collection of endpoints for configuring and managing the payment channels when initiating a payment

Methods

Method HTTP Path Summary
check GET /charge/{reference} Check pending charge
create POST /charge Create Charge
submit_address POST /charge/submit_address Submit Address
submit_birthday POST /charge/submit_birthday Submit Birthday
submit_otp POST /charge/submit_otp Submit OTP
submit_phone POST /charge/submit_phone Submit Phone
submit_pin POST /charge/submit_pin Submit PIN

check

HTTP: GET
Path: /charge/{reference}

paystack.charge.check(reference)

Path Parameters

Name Required
reference true

create

HTTP: POST
Path: /charge

paystack.charge.create({ ... })

submit_address

HTTP: POST
Path: /charge/submit_address

paystack.charge.submit_address({ ... })

Body Fields

Name Required
address true
city true
state true
zip_code true
reference true

submit_birthday

HTTP: POST
Path: /charge/submit_birthday

paystack.charge.submit_birthday({ ... })

Body Fields

Name Required
birthday true
reference true

submit_otp

HTTP: POST
Path: /charge/submit_otp

paystack.charge.submit_otp({ ... })

Body Fields

Name Required
otp true
reference true

submit_phone

HTTP: POST
Path: /charge/submit_phone

paystack.charge.submit_phone({ ... })

Body Fields

Name Required
phone true
reference true

submit_pin

HTTP: POST
Path: /charge/submit_pin

paystack.charge.submit_pin({ ... })

Body Fields

Name Required
pin true
reference true