🗒️Workflows
Deposit workflow
You obtain a new address from the LegranPay API or via Backoffice and save it somewhere on your side. After that, you display this address to your customer so they can make a deposit.
The customer sends funds to this address.
After that, LegranPay sends a callback to your callback URL with the details of the transaction. It contains its address, currency, amount and fees.
You should deposit the respective amount to the customer’s balance on your side.
Withdrawal workflow
You request to send a certain amount of money to a certain address.
Your request is validated on our side. If the signature is correct, the address is valid and you have sufficient funds on your balance, LegranPay will respond to you with a transaction object.
You will receive a callback when the transaction status is updated.
Last updated