POST
/
payin
/
create-order
Create payin order (deposit)
curl --request POST \
  --url https://48x2gpzu9b.execute-api.ap-south-1.amazonaws.com/v1/payin/create-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 10,
  "callback_url": "https://google.com",
  "client_id": "finflex_test_6868706820",
  "customer_details": {
    "email": "donation@gmail.com",
    "mobile": "9040660463",
    "name": "Testing"
  },
  "order_id": "321sdf"
}'
{
  "data": {
    "amount": 10,
    "client_id": "finflex_test_6868706820",
    "created_at": "2024-07-04T10:30:00Z",
    "order_id": "321sdf",
    "payment_url": "https://payment.smebank.com/pay/abc123",
    "status": "pending",
    "transaction_id": "txn_987654321"
  },
  "message": "Payin order created successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-client-id
string

Finflex client ID (starts with finflex_test_ or finflex_live_)

x-client-secret
string

Finflex client secret

Body

application/json

Response

201
application/json

Payin order created successfully

The response is of type object.