Paystack
Payment initialization using paystack
Initialize Transaction
POST
https://switchapi3.azurewebsites.net/user/paystack/initialize_transaction
This endpoint allows you to make payment.
Headers
SWI-CS
string
Payload checksum
SWI-CID
string
Client ID
Authorization
string
The format for Authorization is Bearer token
Request Body
amount_kobo
string
Amount in kobo.
Initialize Transaction (Payment-link)
POST
https://switchapi3.azurewebsites.net/user/paystack/initialize_payment_link_transaction
This endpoint initializes transactions for payment-link specifically.
Headers
SWI-CS
string
Payload checksum
SWI-CID
string
Client ID
Request Body
amount_kobo
string
Amount in kobo.
string
The payer's email.
payment_link_token
string
The payment-link token.
Fund user wallet/account
POST
https://switchapi3.azurewebsites.net/user/paystack/fund
This endpoint funds the user's switch wallet or account.
Headers
SWI-CS
string
Payload checksum
SWI-CID
string
Client ID
Request Body
save_card
string
Boolean flag for saving card. Defaults to false.
funding_destination
string
wallet or account. Defaults to wallet.
amount_kobo
string
Amount in kobo
reference
string
Paystack reference.
Last updated
Was this helpful?