Newer Version Available

This content describes an older version of this product. View Latest

VPL360CSR_CreatePaymentIntentBillingCSR

This Integration Procedure creates payment intent and billing with the amount to be debited from the payment method.

Sample Input

1{
2    "ContextId": "a1S4W000006A1tyUAC",
3    "amount": "56"
4}

Parameter

Required/Optional

amount

Required

ContextId

Required

Sample Output

1{
2  "payment_method": "pm_1I0meAKOGFB3U5JQ451BqPxf",
3  "on_behalf_of": null,
4  "next_action": null,
5  "metadata": {},
6  "livemode": false,
7  "last_payment_error": null,
8  "invoice": null,
9  "description": null,
10  "customer": "cus_Ic0euqbWnFYOg3",
11  "currency": "inr",
12  "created": 1608614738,
13  "confirmation_method": "automatic",
14  "client_secret": "pi_1I13NOKOGFB3U5JQ9FQIrKw1_secret_MKw1Ro8jwOAueYz1ZUCXJt2aD",
15  "charges": {
16    "url": "/v1/charges?payment_intent=pi_1I13NOKOGFB3U5JQ9FQIrKw1",
17    "total_count": 0,
18    "has_more": false,
19    "data": [],
20    "object": "list"
21  },
22  "capture_method": "automatic",
23  "cancellation_reason": null,
24  "canceled_at": null,
25  "application_fee_amount": null,
26  "application": null,
27  "amount_received": 0,
28  "amount_capturable": 0,
29  "amount": 5600,
30  "object": "payment_intent",
31  "id": "pi_1I13NOKOGFB3U5JQ9FQIrKw1"
32}

Called By

  • Flows

    • Agent console: Payment

  • Components:

    • Omniscript: vpls360csr_BuyAddonsV3_English

    • Omniscript: vpls360csr_ChangeBasePackage_English

Calls

  • Data Mapper: vpls360Csr-FetchAccountFromInteraction

  • Data Mapper: VPL360csr-DRFetchStripeCustId

  • HTTP Action: ListAllPaymentmethods

  • HTTP Action: CreatePaymentIntent