Cashier API
Create PayIn Request
PayIn transaction currency. If processor psp doesn't allow this currency but if this currency is enabled it will be automatically converted to PSP currency and final transaction currency will be set respectively.
Whether or not this customer is KYC verified in your system. This flag is required to determine right PSP to process this payin.
Customer information
Your defined unique identifier for this customer.
Customer billing information
Customer billing country code (ISO 3166-1 alpha-2). Ex: GE for Georgia
Number of previous transactions in different payment system.
curl -i -X POST \
https://omno-api.redocly.app/_mock/openapi_final_casefixed/public/payin \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"orderId": "example_orderid",
"amount": 0,
"currency": "example_currency",
"kycVerified": true,
"customer": {
"externalUserId": "example_externaluserid",
"firstName": "example_firstname",
"lastName": "example_lastname",
"email": "example_email",
"phoneNumber": "example_phonenumber",
"dateOfBirth": "example_dateofbirth",
"billing": {
"address": "example_address",
"city": "example_city",
"state": "example_state",
"countryCode": "example_countrycode",
"postalCode": "example_postalcode"
}
},
"previousTransactionCount": 0,
"returnUrls": {
"success": "example_success",
"failure": "example_failure"
}
}'
{ "payoutId": "example_payoutid", "status": "PROCESSED", "iframeUrls": { "card": "example_card", "apm": "example_apm" } }
curl -i -X GET \
'https://omno-api.redocly.app/_mock/openapi_final_casefixed/public/payin/{payinId}' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": "example_id", "amount": 0, "merchantId": "example_merchantid", "customerId": "example_customerid", "orderId": "example_orderid", "currency": "example_currency", "status": "SUCCESS", "initialAmount": 0, "initialCurrency": "example_initialcurrency", "routerId": "example_routerid", "returnUrls": { "success": "example_success", "failure": "example_failure" }, "cardId": "example_cardid", "cardMask": "example_cardmask", "cardBrand": "example_cardbrand", "cardHash": "example_cardhash", "merchantPspId": "example_merchantpspid", "pspTransactionId": "example_psptransactionid", "statusReason": { "reason": "example_reason", "detailedStatus": "INSUFFICIENT_FUNDS", "status": "SUCCESS" }, "previousTransactionCount": 0, "metadata": { "ipAddress": "example_ipaddress" }, "transactionType": "CARD", "createdAt": "example_createdat", "updatedAt": "example_updatedat" }