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

Redirect Payment URL

Here is a description and explanation about the redirection in DANA and Linkaja transactions for INDONESIA country.

Redirect Payment URL

We will access your redirect payment URL that you've placed in the redirectUrl field when generating or creating the transaction using the GET method. Here are the query parameters that we will include in the activity.

Example: https://merchant-redirect-url.com/redirect?customerName=test01&transactionRef=test-ref&partnerTransactionRef=test-partner-ref&amount=10000&status=paid

QueryParamDescription
customerNameThe customer name provided by you when generating or creating the transaction.
transactionRefOur transactionRef
partnerTransactionRefYour transactionRef
amountThe amount of the payment or transaction
statusThe status of the payment or transaction (e.g., "paid", "failed")