API parameters
Payment Request Parameter
Data types
A - Alphabet
N - Numeric
AN - AlphaNumeric
C - Characters (AlphaNumeric and symbols)
Mandatory types
M - Mandatory
C - Conditional (Mandatory for some features only)
O - Optional
Request XML
Full request elements List:
<PaymentRequest>
<version>9.9</version>
<payload><payload>
<signature></signature>
</PaymentRequest>
Request Attribute
Variable | Data Type / Length | Mandatory | Description |
---|---|---|---|
version | C 5 | M | API version number, e.g 9.9 |
payload | C | M | Base64 Payload of the existing payment request |
signature | C 128 | M | Hash value computed by HMACSHA256 with secret key provided by 2C2P. |
Payment Response Parameter
Response XML
<PaymentResponse>
<version>9.9</version>
<payload><payload>
<signature></signature>
</PaymentResponse>
Response Attribute
Variable | Data Type | Length | Mandatory |
---|---|---|---|
version | C 5 | M | API version number, e.g 9.9 |
payload | C | M | Base64 Payload of the existing payment response |
signature | AN 128 | M | Hash value computed by HMACSHA256 with secret key provided by 2C2P. |
Updated over 3 years ago