Create payout request
POST /api/payouts/v1/request-payout
POST
/api/payouts/v1/request-payout
Creates a payout request with desired payout type.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
order
required
object
callback_url
string
currency
required
string
description
required
string
external_id
required
string
original_amount
required
string
payer
required
object
entity_id
required
string
recipient
required
object
card
Required if payout_type is card
object
email
string format: email
first_name
required
string
last_name
required
string
middle_name
string
phone
string
Example
+380956664499 rid
string format: uuid
ipn
string
Example
3228412933 external_id
string
card_data
object
number
Full card number. Required if token is empty
string
token
Card token received from payment operation. Required if number is empty
string
option_id
Card identifier in wallet
string
cash
Required if payout_type is cash
object
email
string format: email
first_name
required
string
last_name
required
string
middle_name
string
phone
string
Example
+380956664499 rid
string format: uuid
ipn
string
Example
3228412933 external_id
string
payout_type
required
string
Callbacks
Section titled “ Callbacks ”PayoutCallback
Section titled “PayoutCallback”POST
$request.body#/order.callback_url
Payout result.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-ROZETKAPAY-SIGNATURE
string
With this header, you can verify if the callback is from RozetkaPay.
Calculation algorithm:
signature=base64url_encode(sha1($password + base64url_encode($json_body) + $password))Request Body
Section titled “Request Body ”object
transaction_id
UUID
string
partner_key_id
string
external_id
string
fc_id
integer
currency
string
original_amount
string format: decimal
Example
0 payer_amount
string format: decimal
Example
0 payer_outer_fee
string format: decimal
Example
0 recipient_amount
string format: decimal
Example
0 payment_type
string
payout_type
string
status
string
status_code
string
status_code_description
string
Responses
Section titled “ Responses ”object
currency
string
description
string
external_id
string
fc_id
integer
original_amount
string format: decimal
Example
0 partner_key_id
string
payer_account
object
entity_id
required
string
payer_amount
string format: decimal
Example
0 payer_outer_fee
string format: decimal
Example
0 payment_type
string
payout_type
string
recipient_user
object
email
string format: email
first_name
required
string
last_name
required
string
middle_name
string
phone
string
Example
+380956664499 rid
string format: uuid
ipn
string
Example
3228412933 external_id
string
status
string
status_code
string
status_code_description
string
transaction_id
UUID
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
Too Many Requests.
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string
Headers
Section titled “Headers ” X-RateLimit-Limit
integer
Request limit per second.
X-RateLimit-Remaining
integer
The number of requests left for the time window.
X-RateLimit-Reset
integer
Seconds needed for full regeneration.
object
code
string
message
string
param
string
payment_id
string
type
string
error_id
string