Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVP-495: Added abort-paymentattempt in operations section. #2394

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/autoclick.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
4 changes: 2 additions & 2 deletions _includes/checkout-v3-status-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,13 @@ api-supported-versions: 3.x{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
4 changes: 2 additions & 2 deletions _includes/instrument-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
},{% if documentation_section contains "checkout-v3" %}
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
},
},{% endif %}
{
"href": "https://api.payex.com/psp/paymentorders/222a50ca-b268-4b32-16fa-08d6d3b73224",
"rel": "set-instrument",
Expand Down
4 changes: 2 additions & 2 deletions _includes/payer-aware-payment-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
4 changes: 2 additions & 2 deletions _includes/payment-order-afd.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
4 changes: 2 additions & 2 deletions _includes/payment-order-moto.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
7 changes: 7 additions & 0 deletions _includes/payment-order-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"rel": "abort",
"contentType": "application/json"
},
{
"method": "PATCH",
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",

Check notice on line 33 in _includes/payment-order-operations.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

_includes/payment-order-operations.md#L33

Expected: 80; Actual: 90
"rel": "abort-paymentattempt",
"contentType": "application/json"
},
{
"method": "POST",
"href": "{{ page.api_url }}/psp/paymentorders/{{ page.payment_order_id }}/cancellations",
Expand Down Expand Up @@ -188,6 +194,7 @@
| :--------- | :------------ |
| `update-order` | Updates the order with a change in `orderItems`, `amount` and/or `vatAmount`. |
| `abort` | Aborts the payment order before any financial transactions are performed. |
| `abort-paymentattempt` | Aborts the payment attempt, but not the order as a whole, before any financial transactions are performed. |

Check notice on line 197 in _includes/payment-order-operations.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

_includes/payment-order-operations.md#L197

Expected: 80; Actual: 218
| `cancel` | Used to cancel authorized and not yet captured transactions. If a cancellation is performed after doing a part-capture, it will only affect the not yet captured authorization amount. |
| `capture` | The second part of a two-phase transaction where the authorized amount is sent from the payer to the payee. It is possible to do a part-capture on a subset of the authorized amount. Several captures on the same payment are possible, up to the total authorization amount. |
| `reversal` | Used to reverse a payment. It is only possible to reverse a payment that has been captured and not yet reversed. |
Expand Down
4 changes: 2 additions & 2 deletions _includes/payment-order-recur.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
4 changes: 2 additions & 2 deletions _includes/payment-order-unscheduled.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
4 changes: 2 additions & 2 deletions _includes/request-delivery-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,13 @@ api-supported-versions: 3.x/2.0{% endcapture %}
"rel": "abort",
"method": "PATCH",
"contentType": "application/json"
},
}{% if documentation_section contains "checkout-v3" %},
{
"href": "https://api.payex.com/psp/paymentorders/{{ page.payment_order_id }}",
"rel": "abort-paymentattempt",
"method": "PATCH",
"contentType": "application/json"
}
}{% endif %}
]
}{% endcapture %}

Expand Down
Loading