merchant_user) who act as buyers and sellers. Many API actions are
performed on behalf of one of these customers.
Creating customers
Use Create merchant customer with the customer’s name, email, phone andcountryId. This requires your key
to belong to a merchant super-admin account.
Acting on behalf of a customer
Pass the customer’s ID in thecustomer-id header. This tells Payluk which
customer’s wallet, escrows or cards the request concerns:
Permissions & status
Buy / sell permissions
Toggle
canBuy and canSell per customer. A customer disabled from buying
is rejected at payment time.Block / unblock
Block a customer to suspend their activity; unblock to restore it.
Wallets
Each customer has a wallet with amainBalance (spendable) and an
escrowBalance (funds locked in open escrows). Read it with
Get customer wallet.