LEGIONPAYLEGIONPAY
Demo
StableAPI Reference

Introduction

Getting Started with Legionpay

Utility

Get Payment MethodGETGet Transfer ChannelGETGet Account BalanceGET

Signature

Generating Signature

Payment

Generate Accept PaymentPOST

Transfer

Transfer InquiryPOSTTransfer PaymentPOST

Topup

Topup RequestPOST

Check Status

Check Payment StatusGETCheck Transfer StatusGETCheck Topup StatusGET

Callback

Payment CallbackTransfer CallbackTopup Callback

Additional Things

Response CodePayment and Topup StatusTransfer StatusRedirect Payment URL

Additional Things

Response Code

This response code is from payload. Not the http status code.

Response Code

CodeDescription
200The request was successful, and everything is functioning correctly. You may proceed with the next steps.
201Oops! The signature for the request is invalid. Please double-check your logic for generating the signature or the data type.
202The request cannot be processed due to an invalid data type. Please ensure the data is correctly formatted.
203The selected payment method or bank is not allowed. Please contact our support team for further assistance.
204The specified payment method or bank could not be found. Please verify the payment code or bank code provided.
500Internal server error. It seems there's a bug buzzing around our server. We apologize for the inconvenience.