Skip to main content
POST
/
api
/
public
/
v1
/
payments
/
process
curl --request POST \
--url https://app.tagadapay.com/api/public/v1/payments/process \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"paymentInstrumentId": "pi_123",
"amount": 2999,
"currency": "USD",
"storeId": "store_123",
"customerId": "cus_456",
"mode": "purchase"
}'
{
  "payment": {
    "id": "pay_123",
    "amount": 2999,
    "currency": "USD",
    "status": "succeeded",
    "subStatus": "approved",
    "requireAction": "none"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
amount
number
required
Required range: x > 0
currency
string
required
storeId
string
required
orderId
string
paymentInstrumentId
string
mode
enum<string>
default:purchase
Available options:
purchase,
auth,
capture
customerId
string
initiatedBy
enum<string>
default:customer
Available options:
customer,
merchant
reasonType
enum<string>
Available options:
recurring,
unscheduled,
installment
returnUrl
string<uri>
draft
boolean
default:false
isRetry
boolean
default:false
threedsSessionId
string
subscriptionId
string
paymentFlowId
string

Response

Successful response

The response is of type any.