Process a card sale

A 'Sale' combines the authorization and capture process into one transaction. It is typically used when customer purchases are fulfilled immediately, e.g grocery store. If the cardholder's issuing bank approves the transaction, an approval code will be returned. If the transaction is declined by the issuing bank for insufficient funds or other reasons, an error message containing the reason is returned.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

API support various types of use. Required fields are defined by the most basic call. For other uses be sure to send the required information defined in the schema and examples.

string
required
items
array of objects
items
number
required
paymentToken
object
required

Permanent token (type + token) or one-time token payload (data).

boolean
required
string
number

The total amount of sales tax must be between: Visa: 0.1% - 18% MasterCard: 0.1% - 23% Default: 0.1% - 50%

boolean
dynamicFee
object
string
string
billing
object
shipping
object
metadata
object

metadata is an object that can host as much as 50 key-value pairs, where the keys can be at most 40 char length and can’t include the characters “[“ or “]”, and the values must be strings and cannot exceed 500 chars Learn more about metadata

billingDescriptor
object
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json