Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Payment Test Data
- //No line Item
- {
- "customerId": 1,
- "paymentType": "TWO_CHECKOUT",
- "total": 50,
- "currency": "USD",
- "billing": {
- "name": "string",
- "addrLine1": "string",
- "email": "roberto@gmail.com",
- "phone": "70470934"
- }
- }
- //Single Line Item
- {
- "customerId": 1,
- "paymentType": "TWO_CHECKOUT",
- "total": 50,
- "currency": "USD",
- "billing": {
- "name": "string",
- "addrLine1": "string",
- "email": "roberto@gmail.com",
- "phone": "70470934"
- },
- "lineItems": [
- {
- "type": "PRODUCT",
- "serial": "5184-6565",
- "quantity": 1,
- "concept": "test",
- "unitPrice": 10,
- "totalPrice": 10
- }
- ]
- }
- //Multiple Line Items
- {
- "customerId": 1,
- "paymentType": "TWO_CHECKOUT",
- "total": 50,
- "currency": "USD",
- "billing": {
- "name": "string",
- "addrLine1": "string",
- "email": "roberto@gmail.com",
- "phone": "70470934"
- },
- "lineItems": [
- {
- "type": "PRODUCT",
- "serial": "5184-6565",
- "quantity": 1,
- "concept": "test",
- "unitPrice": 10,
- "totalPrice": 10
- },
- {
- "type": "PRODUCT",
- "serial": "5184-6565",
- "quantity": 2,
- "concept": "test",
- "unitPrice": 20,
- "totalPrice": 40
- },
- {
- "type": "SHIPPING",
- "concept": "test",
- "unitPrice": 10,
- "totalPrice": 10
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement