POST eo-events/pay?ClientId={ClientId}&event_id={event_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | string |
Required |
|
| event_id | globally unique identifier |
Required |
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AttendeeContactId | globally unique identifier |
Required |
|
| NameOnCC | string |
None. |
|
| CardType | string |
None. |
|
| CCNumber | string |
None. |
|
| CVV | string |
None. |
|
| ExpiryDate | string |
None. |
|
| AmtToBePaid | decimal number |
Required |
|
| SavedCardId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttendeeContactId": "aa94ada4-013c-4120-835d-e1e07831de81",
"NameOnCC": "sample string 2",
"CardType": "sample string 3",
"CCNumber": "sample string 4",
"CVV": "sample string 5",
"ExpiryDate": "sample string 6",
"AmtToBePaid": 7.0,
"SavedCardId": "68ab3c1c-a6c9-4305-b870-66765478bee6"
}
application/xml, text/xml
Sample:
<EventRegistrationPaymentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AttendeeContactId>aa94ada4-013c-4120-835d-e1e07831de81</AttendeeContactId> <NameOnCC>sample string 2</NameOnCC> <CardType>sample string 3</CardType> <CCNumber>sample string 4</CCNumber> <CVV>sample string 5</CVV> <ExpiryDate>sample string 6</ExpiryDate> <AmtToBePaid>7</AmtToBePaid> <SavedCardId>68ab3c1c-a6c9-4305-b870-66765478bee6</SavedCardId> </EventRegistrationPaymentRequest>
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| IsPaymentSuccessful | boolean |
None. |
|
| Message | string |
None. |
|
| PaymentDetails | PaymentDetails |
None. |
|
| GuestRegistrationIds | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsPaymentSuccessful": true,
"Message": "sample string 2",
"PaymentDetails": {
"ExternalTransactionId": "sample string 1",
"PaymentGateway": "sample string 2",
"InternalTransactionId": "sample string 3"
},
"GuestRegistrationIds": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<PaymentResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<IsPaymentSuccessful>true</IsPaymentSuccessful>
<Message>sample string 2</Message>
<PaymentDetails>
<ExternalTransactionId>sample string 1</ExternalTransactionId>
<PaymentGateway>sample string 2</PaymentGateway>
<InternalTransactionId>sample string 3</InternalTransactionId>
</PaymentDetails>
<GuestRegistrationIds>
<string>sample string 1</string>
<string>sample string 2</string>
</GuestRegistrationIds>
</PaymentResult>