• Partners
  • Email Us
  • Product
    • Channels
      • Voice
      • Email
      • SMS
      • Chat
      • Messenger
      • Omnichannel
    • Features
      • Predictive Dialer
      • VCC Live Pay
      • Outbound IVR
      • Inbound IVR
      • Voicemail Detection
      • Live Dashboards
      • ACD
      • Salesforce Integration
      • Dialogflow
  • Solutions
    • Customer Service
    • Sales Teams
    • Debt Collection
    • Virtual Call Center
  • Pricing
  • Resources
    • Blog
    • Case Studies
    • Ebooks
    • Courses
    • Webinars
    • Information Security
    • Learning Center
    • Developers
  • Company
    • About us
    • Careers
    • News
    • Partners
  • Partners
  • Email Us
+44 208 638 0169
GET STARTED
Developer GuidesWebhookAsync Webhook RequestsPayment Transaction (Async)
  • Overview
    • About Webhooks
    • Firewall Settings
    • Responding to Requests
    • Securing Requests
  • Setting up Webhooks
    • Setting up Global Webhooks
    • Setting up Project Specific Webhooks
    • Testing Webhook Requests
    • Using Dynamic URLs
  • Async Webhook Requests
    • About Async Webhook Requests
    • Call Disposition (Async)
    • Payment Transaction (Async)
    • SMS (Async)
    • User Created and User Changed (Async)
  • Sync Webhook Requests
    • About Sync Webhook Requests
    • IVR (Sync)
    • Project Login (Sync)
Back to Support and Learning Center

Payment Transaction (Async)

The payment webhook sends the following object to your site regarding the status updates of the payment, encoded in JSON.

In other words:

  • First it sends an object that informs the user that the payment is in progress,
  • Then it sends a second object that informs the user that the status of the payment is either successful or unsuccessful.

To learn more about VCC Live Pay, please visit our guide here.

Table of Contents

  • Request Object
  • Payment Object
  • Sample Request Body

Request Object

Name Type Comment
client_data object Custom data object, including contacts.
in_call boolean True if the payment happened during the phone call. Payment can happen after the call if the payment process takes longer than the conversation.
numberid integer Record identifier.
payment object Payment object.
projectid int Project identifier.
teamids array of integers Array of teamids.
timestamp string Time of disposition setting, in ISO 8601 format.
userid integer Agent identifier.
username string Agent username.
uuid string Call identifier.

Payment Object

Name Type Comment
amount number Amount of payment.
card_expiration sting Expiration date (MMYY).
card_number_length number Card number’s lenght.
card_number_trailing string Card number’s last 4 characters.
currency string Currency of payment in lowercase ISO 4217 format.
payment_gw string The payment gateway’s identifier.
payment_type string Type of the payment. Currently credit card is the only supported value.
status string Status of the payment:
– successful
– unsuccessful
– in_progress
status_message string Status message if there is any.
token string Unique payment identifier generated by VCC. This token is used for recurring payment.
transactionid string A unique number, that represents the payment.
vposid string Virtual POS identifier.

Sample Request Body

{
    "payment": {
        "payment_type": "creditcard",
        "card_number_trailing": "1234",
        "card_number_length": 16,
        "card_expiration": "1218",
        "payment_gw": "testgw",
        "transactionid": "431fba930c344aa0b6d64458824036d1",
        "amount": 100000,
        "currency": "huf",
        "status": "successful",
        "status_message": "cde.success",
        "vposid": null,
        "token": null,

    },
    "in_call": true,
    "uuid": "a7587a1a-2581-4dfe-b9eb-6a8ddb7caf0e",
    "projectid": 4,
    "numberid": 25,
    "username": "elemer.erdosi",
    "userid": 26,
    "teamids": [
        1
    ],
    "client_data": {
        "email": "elemer.erdosi@vcc.live",
        "scenario": [
            {
                "valueid": 3,
                "fieldid": 7,
                "label": "Success",
                "export_value": "",
                "description": "1"
            }
        ],
        "name": "Elemer Erdosi",
        "amount": "100000",
        "pci_currency": [
            {
                "valueid": 8,
                "fieldid": 3,
                "label": "huf",
                "export_value": null,
                "description": ""
            }
        ],
        "phone1": "36301234567",
        "termekek": [
            {
                "valueid": 12,
                "fieldid": 10,
                "label": "Ticket",
                "export_value": "100000",
                "description": ""
            }
        ],
        "contacts": {
            "1": {
                "name": null,
                "phone": "36304739238",
                "email": null,
                "title": null
            }
        }
    },
    "timestamp": "2015-11-12T10:31:48+01:00"
}
Back to Support and Learning Center

Comments

Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.


There are no comments yet.

Click here to cancel reply.

Please note that by clicking on the Submit button, you agree to a member of VCC Live team contacting you with business offers. You can find detailed information on how we can establish contact with you in our Privacy Policy

  • Channels
    • Voice
    • Email
    • SMS
    • Chat
    • Messenger
    • Omnichannel
  • Main Features
    • Call Center Software
    • Predictive Dialer
    • VCC Live Pay
    • Outbound IVR
    • Inbound IVR
    • Voicemail Detection
    • Live Dashboards
    • ACD
    • Salesforce Integration
    • Dialogflow
  • Solutions
    • Customer Service
    • Sales Teams
    • Debt Collection
    • Virtual Call Center
  • Resources
    • Blog
    • Case Studies
    • Ebooks
    • Courses
    • Webinars
    • Information Security
    • Learning Center
    • Developers
    • Download
  • Company
    • About us
    • Careers
    • News
    • Partners
https://vcc.live/wp-content/uploads/2019/07/iso-cert-1.png https://vcc.live/wp-content/uploads/2019/07/iso-cert-2.png https://vcc.live/wp-content/uploads/2019/07/iso-cert-3.png
Social Media
https://vcc.live/wp-content/uploads/2019/07/linkedin.svg https://vcc.live/wp-content/uploads/2019/07/twitter.svg https://vcc.live/wp-content/uploads/2019/07/facebook-1.svg https://vcc.live/wp-content/uploads/2019/07/instagram-1.svg
Call us
Hungary
+36 19996400
UK
+44 2086380169
Germany
+49 3021782516
Poland
+48 123950886
Romania
+40 31706167
USA
+1 3024988337
Hungary
+36 19996400
UK
+44 2086380169
Germany
+49 3021782516
Poland
+48 123950886
Romania
+40 31706167
USA
+1 3024988337
  • Privacy Policy
  • Cookie Policy
  • Legal Statement
  • General Terms of Agreement
  • Magyar nyelvű jogi dokumentumok