POST api/OuterGateMultiPayment/PagoPaVPOS/PayCartVPOS
This endpoint get link or qrcode for pay
Request Information
URI Parameters
None.
Body Parameters
OuterPayCartVPOSRequestName | Description | Type | Additional information |
---|---|---|---|
UniqueCodeOfCart |
Cart's code |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "UniqueCodeOfCart": "sample string 1" }
application/xml, text/xml
Sample:
<OuterPayCartVPOSRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels.VPOSExt"> <UniqueCodeOfCart>sample string 1</UniqueCodeOfCart> </OuterPayCartVPOSRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GeneratePaymentVPOSUriResponseName | Description | Type | Additional information |
---|---|---|---|
LinkToPay | string |
None. |
|
QRCodeLinkToPay | QRCodeExt |
None. |
|
AxerveTransactionID | string |
None. |
|
PaymentCartCode | string |
None. |
|
Amount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "LinkToPay": "sample string 1", "QRCodeLinkToPay": { "Name": "sample string 1", "Format": 2, "Base64Content": "sample string 3" }, "AxerveTransactionID": "sample string 2", "PaymentCartCode": "sample string 3", "Amount": 4.0 }
application/xml, text/xml
Sample:
<GeneratePaymentVPOSUriResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels.VPOSExt"> <Amount>4</Amount> <AxerveTransactionID>sample string 2</AxerveTransactionID> <LinkToPay>sample string 1</LinkToPay> <PaymentCartCode>sample string 3</PaymentCartCode> <QRCodeLinkToPay> <Base64Content>sample string 3</Base64Content> <Format>2</Format> <Name>sample string 1</Name> </QRCodeLinkToPay> </GeneratePaymentVPOSUriResponse>