Skip to content

Approve p2p wallet

POST api/v1/paymentgate/payment/approve_p2p_wallet/
Create a payment by wallet

Request Body schema

application/json

Field Type Required Description Example
endpoint string No Endpoint Api key "92b6aee5-54a0-496c-8972-aff1f78010c1"
tx string Yes Transaction id "0953790a-3696-4b79-999a-6e8bef51c72f"
document_info string Yes Document information for approve transaction "000000"
approved_status string Yes Enum "process", "confirm", "cancel" "confirm"

Response sample

{
    "endpoint":"92b6aee5-54a0-496c-8972-aff1f78010c1",
    "tx": "0953790a-3696-4b79-999a-6e8bef51c72f",
    "document_info": "000000",
    "approved_status": "confirm"
}

Response sample

{
  "redirect_url": "http://example.com",
  "info": {
    "tx": "f17d7f5c-6b4a-47fd-95eb-08086e250473",
    "payment": {
    "status": "create",
    "currency": {},
    "amount": 100,
    "created_at": "2025-06-06T17:30:33Z",
    "additional_data": {},
    "endpoint_logo": "string"
  },
  "p2p_wallet_data": {
    "target_account_number": "string",
    "code": "string",
    "bank_name": "string",
    "holder": "string",
    "valid_till": "2025-06-06T17:30:33Z",
    "tll": "14:15:22Z"
  },
  "qr_code": {
    "qrcode": "string",
    "beneficiary": "string",
    "format": "string",
    "copypaste": "string"
  },
  "pay_data": "string"
}