Features
Refunds
Tokenization
Recurring Payments
POST/v1/payments

Create Payment

Process a new payment transaction

Standard Payment
Basic card payment processing

Basic card payment processing

Request Body

8 parameters

amount

numberrequired

Payment amount in cents

currency

stringrequired

Three-letter currency code

card_number

string

Credit card number

Acquirer hidden

cvv

string

Card verification value

Acquirer hidden

expiry_month

string

Card expiry month (MM)

Acquirer hidden

expiry_year

string

Card expiry year (YYYY)

Acquirer hidden

customer_id

string

Customer identifier

description

string

Payment description

Request Preview
{
  "amount": 1500,
  "currency": "USD",
  "card_number": "4111111111111111",
  "cvv": "123",
  "expiry_month": "12",
  "expiry_year": "2025",
  "customer_id": "cust_123456",
  "description": "Order #12345"
}

Responses

200

Payment created successfully

{
  "id": "pay_1234567890",
  "status": "succeeded",
  "amount": 1500,
  "currency": "USD",
  "card": {
    "last4": "1111",
    "brand": "visa",
    "exp_month": 12,
    "exp_year": 2025
  },
  "customer_id": "cust_123456",
  "description": "Order #12345",
  "created": 1647875400,
  "processing_fee": 45
}
Log in to use your API keys with Try It!
REQUEST
12345678910111213