POST
/api/v1/payments/tap
Card-present sale (tap to phone)
Record a bank-card sale taken on the merchant's own device. The merchant is credited only once a connected acquirer confirms `authorization_code` for this amount and currency; a code that no acquirer has confirmed credits nothing. Until an acquirer is connected to your account this endpoint answers `funding_source_required`. Merchant accounts only.
Parameters
amount
integer · required
Amount in minor units.
currency
string · required
ISO-4217 currency code.
authorization_code
string · required
The acquirer's authorisation reference for this sale.
card_data
object
{ last4, scheme } for the receipt. Never send the full card number.
curl https://malaleem.com/api/v1/payments/tap \
-H "Authorization: Bearer {token}" \
-d amount=4999 -d currency=USD -d authorization_code={acquirer_auth}