InstantTransfer
  1. Merch Deposit Order
InstantTransfer
  • PayStar API Documentation
    • Introduction
    • Authorization Bearer
    • Sandbox
    • Callbacks
    • Glossary
    • Dictionarys
      • Currencys
      • Telecom operators
      • Bank names
    • Deposit direct (Merch)
      • Create | Deposit order
      • Check status | Deposit order
    • Deposit reverse (Gateway)
      • Create | Reverse deposit order
      • Check status | Deposit order
    • Withdrawal direct (Merch)
      • Create | Withdrawal order
      • Check status | Withdrawal order
    • Balance
      • GET Merchant balance
  • Armax API
    • POST Armax Order
      POST
  • Butler API Bridge
    • Authorization Bearer
    • Withdrawal direct | PDO API Bridge
      • Check status | Withdrawal order
      • Create | Withdrawal Order
    • PSP Deposit Order
      • PSP Deposit Order
      • PSP Deposit Order status
    • Merch Deposit Order
      • Merch Deposit Order
        POST
      • Merch Deposit Order status
        GET
  • CoreFy API
    • Withdrawal Order
      POST
    • Payment Order
      POST
  • PayNetEasy API Bridg
    • Introduсtion
    • Autorization
    • Glossary
    • POST order
      POST
    • POST Status order
      POST
  1. Merch Deposit Order

Merch Deposit Order

POST
/api/v1/integration/merch-deposit-order
curl --request POST \
  --url https://example.com/api/v1/integration/merch-deposit-order \
  --header 'Authorization: Bearer Your Token \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 100,
  "currency": "RUB",
  "externalTransactionId": "test01",
  "bankName":"ANY",
  "paymentDetails": {
     "cardNumber": "111111111111111111"
  },
  "resultRedirect": {
    "successUrl": "https://example.com/success",
    "failUrl": "https://example.com/failed",
    "processingUrl": "https://example.com/processing"
  }
}'

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
  "amount": 1000,
  "bankName": "ALl",
  "currency": "RUB",
  "externalTransactionId": "q12345",
  "paymentDetails": {
    "cardNumber": 12345678901234
  },
  "resultRedirect": {
    "successUrl": "https://example.com/success",
    "failUrl": "https://example.com/failed",
    "processingUrl": "https://example.com/processing"
  }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/integration/merch-deposit-order' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "amount": 1000,
  "bankName": "ALl",
  "currency": "RUB",
  "externalTransactionId": "q12345",
  "paymentDetails": {
    "cardNumber": 12345678901234
  },
  "resultRedirect": {
    "successUrl": "https://example.com/success",
    "failUrl": "https://example.com/failed",
    "processingUrl": "https://example.com/processing"
  }
}'

Responses

🟢200Success
application/json
Body

Example
{
	"isSuccess": true,
	"status": "Processing",
	"orderId": "8f38b5df-18f5-4ea5-97eb-4ba4f4b80005",
	"externalTransactionId": "testp2p1211",
	"amount": 1001.00,
	"paymentDetails": {
		"fio": "John Wick",
		"bank": "all",
		"number": "+79000000001",
		"formUrl": "https://sitename.com/asdasdwc12314asda"
	},
	"statusDescrption": null
}
Modified at 2024-12-12 13:18:26
Previous
Merch Deposit Order
Next
Merch Deposit Order status
Built with