Skip to main content
POST
/
v1
/
simulate
/
instant_payments
/
{instant_payment_id}
/
incoming_return_request_rejection
Simulate Incoming Instant Payment Return Request Rejection
curl --request POST \
  --url https://api.sandbox.lead.bank/v1/simulate/instant_payments/{instant_payment_id}/incoming_return_request_rejection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "customer_decision",
  "additional_information": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

instant_payment_id
string
required

ID of the instant payment object whose return request you want to reject.

Pattern: ^instant_payment_\w+$

Body

application/json
reason
enum<string>
required

The reason for rejecting the return request.

Available options:
closed_account,
insufficient_funds,
customer_decision,
legal_decision,
no_answer_from_customer,
already_returned,
narrative,
other
Example:

"customer_decision"

additional_information
string

Accompanying free text explanation for the reason.

Response

Incoming instant payment return request rejection object created.

The response is of type object.