merchant_user) who act as buyers and sellers. Almost every escrow and
payment action is performed on behalf of one of these customers via the
customer-id header, so this is step 1 of any integration.
Creating and managing customers needs your key to belong to a merchant
super-admin account. Acting as a customer (wallet, payments, escrows) is
done by passing their ID in the
customer-id header. See
Merchant customers and
Authentication.Endpoints
Typical order
1
Create the seller and the buyer
Two
POST /v1/customer/create calls. Keep both returned IDs.2
Set permissions
Give the seller
canSell and the buyer canBuy.3
Use them everywhere else
Pass the right
customer-id on escrow, payment and dispute calls. Check
balances any time with GET /v1/wallet.