VLUK Payment API
    • Merchant Dashboard
    • Sale Request
      POST
    • Status Request
      POST
    • Refund Request
      POST
    • Schemas
      • Schemas
        • Sale
        • Merchant
        • Customer
        • Billing
        • Billing-Card
        • Webhooks
        • Refund-Transaction

      Refund Request

      POST
      /api/v1/refund

      Request

      Body Params application/json

      Examples

      Responses

      🟢200OK
      application/json
      Body

      🔴500E9031
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/api/v1/refund' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "merchant": {
              "id": "M-01K746TGTZ4Y5YJG5EPF3DE057",
              "site-id": "S-01K746TJSGRJBZ2BK6MPX54AN8",
              "password": "hwOmLFLWhbty",
              "track-id": "408-867-5309",
              "return-url": "https://example.com/return-url"
          },
          "refund": {
              "id": "T-99JHTG4PVZ8GRCDM4PVZ8GRCDM",
              "currency-code": "USD",
              "amount": "12.34",
              "reason": "Refund Reason. ( $12.34 )"
          }
      }'
      Response Response Example
      200 - OK
      {
          "type": "valid",
          "merchant": {
              "id": "M-01K746TGTZ4Y5YJG5EPF3DE057",
              "site-id": "S-01K746TJSGRJBZ2BK6MPX54AN8",
              "track-id": "408-867-5309"
          },
          "result": {
              "status": "approved",
              "code": 0,
              "message": "Test Refund OK.",
              "transaction-id": "T-88JMYMTBJAWZCZHEBHB8W26TC5",
              "descriptors": null
          }
      }
      Previous
      Status Request
      Next
      Sale
      Built with