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

      Sale Request

      POST
      /api/v1/sale

      Endpoint#

      Live#

      https://gateway.vluk-payment.com/api/v1/sale

      Sandbox#

      https://gateway-sandbox.vluk-payment.com/api/v1/sale

      Webhook and Return URL#

      Webhook#

      Webhook is triggered when payment is finished.
      Merchant structure and payment result will be posted in JSON format.
      {
        "merchant": {
          "id": "M-01K746TGTZ4Y5YJG5EPF3DE057",
          "site-id": "S-01K746TJSGRJBZ2BK6MPX54AN8",
          "track-id": "408-867-5309"
        },
        "result": {
          "status": "approved",
          "code": "0",
          "message": "Test 3DS Card OK.",
          "transaction-id": "T-99JHTG4PVZ8GRCDM4PVZ8GRCDM",
          "descriptors": "3ds DESC"
        }
      }

      Return URL#

      Return URL after 3D-Secure.
      Query Parameters are added to URL.
      ParameterDescription
      result.transaction-idTransaction ID
      result.messageResult Message
      result.statusResult Code
      merchant.track-idTrack ID given on merchant structure

      About Sandbox: Sale#

      Only test cards can be used
      Sandbox history may be deleted without notice
      Sandbox details may be changed without notice

      Merchant and Site for Sandbox#

      for USD#

      Merchant ID: M-01K746TGTZ4Y5YJG5EPF3DE057
      Site ID: S-01K746TJSGRJBZ2BK6MPX54AN8
      Password: hwOmLFLWhbty

      for JPY#

      Merchant ID:M-01K746TGTZ4Y5YJG5EPF3DE057
      Site ID:S-01K746Z7MSBPKEM5SXQWZP1VDJ
      Password:EnrY7Lp7gcqP

      Test Cards#

      Card Numbers
      BrandCard Number
      Visa4242424242424242
      Master5105105105105100
      CVVs
      CVVExpected Result
      123Approved
      456Declined
      7893D-Secure ( Approved )
      9873D-Secure ( Declined )
      999Error
      Any other Card number / CVV will be declined and Undefined Test Card on message.

      Request

      Body Params application/json

      Examples

      Responses

      🟢200OK
      application/json
      Body

      🔴500Gateway Error
      🟠422Validation Error
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/api/v1/sale' \
      --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"
          },
          "billing": {
              "currency-code": "USD",
              "amount": 12.34,
              "product-desc": "Product Description",
              "card": {
                  "holder": "John Doe",
                  "number": "4242424242424242",
                  "exp-y": "2030",
                  "exp-m": "12",
                  "cvv": "123"
              }
          },
          "customer": {
              "email": "john@example.com",
              "ip": "123.123.123.123",
              "country": "US",
              "zip": "10001",
              "state": "State",
              "city": "City",
              "address": "Address",
              "phone": "+17182222222"
          }
      }'
      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": "resultMessage",
              "transaction-id": "T-99JHTG4PVZ8GRCDM4PVZ8GRCDM",
              "descriptors": [
                  "PAYMENT-DESC",
                  "PAYMENT-DESC2"
              ],
              "redirect-url": "https://example.com/3ds"
          }
      }
      Previous
      Merchant Dashboard
      Next
      Status Request
      Built with