POST v3/payments/greenPay/submit

Request Information

URI Parameters

None.

Body Parameters

GreenPayRequest
NameDescriptionTypeAdditional information
orderId

integer

None.

number

string

None.

expMonth

string

None.

expYear

string

None.

cvc

string

None.

sessionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": 1,
  "number": "sample string 2",
  "expMonth": "sample string 3",
  "expYear": "sample string 4",
  "cvc": "sample string 5",
  "sessionId": "sample string 6"
}

application/xml, text/xml

Sample:
<GreenPayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <cvc>sample string 5</cvc>
  <expMonth>sample string 3</expMonth>
  <expYear>sample string 4</expYear>
  <number>sample string 2</number>
  <orderId>1</orderId>
  <sessionId>sample string 6</sessionId>
</GreenPayRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GreenPayResponse
NameDescriptionTypeAdditional information
apiStatus

string

None.

isApproved

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "apiStatus": "sample string 1",
  "isApproved": true
}

application/xml, text/xml

Sample:
<GreenPayResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <apiStatus>sample string 1</apiStatus>
  <isApproved>true</isApproved>
</GreenPayResponse>