{
"id": "c0fd1c51-e709-47e5-bfd1-5d1c98f7d990",
"status": [
{
"code": "authorizePending",
"time": "2024-05-08T12:33:25.362443Z"
},
{
"code": "created",
"time": "2024-05-08T12:33:21.758224Z"
},
{
"code": "authorizeRequested",
"time": "2024-05-08T12:33:23.401641Z"
}
],
"createdAt": "2024-05-08T12:33:21.758224Z",
"merchantReference": "a85d6211-26d0-4a12-ae85-4d576a700922",
"holderId": "5fc2d688-c19c-45c5-9c38-57072fcda416",
"workspaceId": "7f9f1882-a103-408d-ac96-46a7021e537a",
"holderReference": "9d42ef80-3aa4-4485-895e-4207bc97a966",
"amount": {
"value": "100.00",
"currency": "USD"
},
"paymentComposition": [
{
"integrationType": "api",
"paymentMethodCode": "payPal",
"amount": {
"value": "100.00",
"currency": "USD"
}
}
],
"workflow": {
"code": "payment-acceptance",
"version": 4
},
"meta": {
"CIT": true,
"order": {
"lines": [
{
"id": "c5f19f65-48d5-4449-8d60-b9c01547ca8e",
"name": "Order Name",
"quantity": 1,
"unitPrice": {
"currency": "USD",
"value": "100"
}
}
]
},
"risk": {
"sessionId": "69eb6092-9fbd-47bb-8016-7360f7786215"
}
},
"returnInfo": {
"success": "https://mysuccessurl.com",
"error": "https://myerrorurl.com"
},
"links": {
"self": "http://payrails-api.staging.payrails.io/merchant/workflows/payment-acceptance/executions/c0fd1c51-e709-47e5-bfd1-5d1c98f7d990",
"redirect": "http://payrails-api.staging.payrails.io/public/redirect/merchant/payment-acceptance/c0fd1c51-e709-47e5-bfd1-5d1c98f7d990/ixBNaQZD5v5FqfswOlKRqOD0QpIqBIsbqB_s5yGMy_OfAhF7MDAwMA==",
"confirm": {
"method": "POST",
"href": "http://payrails-api.staging.payrails.io/merchant/workflows/payment-acceptance/executions/c0fd1c51-e709-47e5-bfd1-5d1c98f7d990/confirm",
"action": {
"type": "confirm",
"redirectUrl": "https://www.sandbox.paypal.com/agreements/approve?ba_token=BA-2RN64831HG685960Y",
"redirectMethod": "GET",
"parameters": {
"tokenId": "BA-2RN64831HG685960Y"
}
}
}
},
"actionRequired": "redirect",
"requiredAction": {
"method": "GET",
"href": "http://payrails-api.staging.payrails.io/public/redirect/merchant/payment-acceptance/c0fd1c51-e709-47e5-bfd1-5d1c98f7d990/ixBNaQZD5v5FqfswOlKRqOD0QpIqBIsbqB_s5yGMy_OfAhF7MDAwMA==",
"type": "redirect",
"subType": "client"
}
}