Skip to content

Send Receipt

POST api/v2/paygate/payment/send-receipt/
Send receipt file for payment transaction

Request Body schema

application/json

Field Type Required Description Example
tx string Yes Transaction ID "f17d7f5c-6b4a-47fd-95eb-08086e250473"
file file Yes Receipt file. Supported formats: jpeg, jpg, pjpeg, png, webp, pdf receipt.pdf

Request sample

{   
    "tx": "f17d7f5c-6b4a-47fd-95eb-08086e250473"
    "file": receipt.pdf (binary file data)
}

Response sample


STATUS 201

{
    "redirect_url": "http://example.com",
    "info": {
        "tx": "f17d7f5c-6b4a-47fd-95eb-08086e250473",
        "payment": {},
        "status": "processing",
        "currency": {
          "id": 0,
          "title": "AZN",
          "char_code": "AZN",
          "num_code": 944
        },
        "amount": 1000,
        "created_at": "2000-01-01T00:00:00Z",
        "errors": {},
        "parts_tx": [],
        "additional_data": {},
        "endpoint_logo": "string"
    },
    "qr_code": {
        "qrcode": "string",
        "beneficiary": "string",
        "format": "string",
        "copypaste": "string"
    },
    "p2p_wallet_data": {
        "target_account_number": "string",
        "bank_name": "string",
        "holder": "string",
        "valid_till": "2000-01-01T00:00:00Z",
        "tll": "00:00:00Z"
    },
    "p2p_card_data": {
        "target_account_number": "string",
        "bank_name": "string",
        "holder": "string",
        "valid_till": "2000-01-01T00:15:00Z",
        "tll": "00:15:00Z"
    },
    "pay_data": "string"
}