POST Api/Payment/CreateTransaction
Request Information
URI Parameters
None.
Body Parameters
MakePaymentBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Currency | string |
None. |
|
| RequestedPaymentID | string |
None. |
|
| PaymentTransactionID | string |
None. |
|
| Amount | decimal number |
None. |
|
| NumberofUsers | integer |
None. |
|
| NumberofDays | integer |
None. |
|
| CustomerID | string |
None. |
|
| Token | string |
None. |
|
| Signature | string |
None. |
|
| SessionToken | string |
None. |
|
| string |
None. |
||
| Production | boolean |
None. |
|
| CouponCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Currency": "sample string 2",
"RequestedPaymentID": "sample string 3",
"PaymentTransactionID": "sample string 4",
"Amount": 5.1,
"NumberofUsers": 6,
"NumberofDays": 7,
"CustomerID": "sample string 8",
"Token": "sample string 9",
"Signature": "sample string 10",
"SessionToken": "sample string 11",
"Email": "sample string 12",
"Production": true,
"CouponCode": "sample string 14"
}
application/xml, text/xml
Sample:
<PaymentController.MakePaymentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <Amount>5.1</Amount> <CouponCode>sample string 14</CouponCode> <Currency>sample string 2</Currency> <CustomerID>sample string 8</CustomerID> <Email>sample string 12</Email> <NumberofDays>7</NumberofDays> <NumberofUsers>6</NumberofUsers> <PaymentTransactionID>sample string 4</PaymentTransactionID> <Production>true</Production> <RequestedPaymentID>sample string 3</RequestedPaymentID> <SessionToken>sample string 11</SessionToken> <Signature>sample string 10</Signature> <Token>sample string 9</Token> <UserId>sample string 1</UserId> </PaymentController.MakePaymentBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.