POST api/v1/Payment/SaferPay
Request Information
URI Parameters
None.
Body Parameters
CheckOutSaferPay| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| OrderId | string |
None. |
|
| PID | integer |
None. |
|
| PLinkGuid | string |
None. |
|
| PBC | boolean |
None. |
|
| userAgent | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"OrderId": "sample string 2",
"PID": 3,
"PLinkGuid": "sample string 4",
"PBC": true,
"userAgent": "sample string 6"
}
application/xml, text/xml
Sample:
<PRS.CheckOutSaferPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalEntities.Models"> <OrderId>sample string 2</OrderId> <PBC>true</PBC> <PID>3</PID> <PLinkGuid>sample string 4</PLinkGuid> <Token>sample string 1</Token> <userAgent>sample string 6</userAgent> </PRS.CheckOutSaferPay>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CheckoutResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | string |
None. |
|
| Message | string |
None. |
|
| Type | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": "sample string 1",
"Message": "sample string 2",
"Type": "sample string 3"
}
application/xml, text/xml
Sample:
<PRS.CheckoutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalEntities.Models"> <IsSuccessful>sample string 1</IsSuccessful> <Message>sample string 2</Message> <Type>sample string 3</Type> </PRS.CheckoutResponse>