descriptionbody parameter of the Create a Payment you can include the error code that you want the payment to result to.
description: “302” will result in the payment being rejected with the error: “Insufficient Amount”.
descriptionproperty, which will be very useful when testing the suggested scenarios:
PAID, so we'll use code
200. As you are testing cards, make sure you are correctly inputting CARD as the selected payment method.
PAIDas the payment status, and
200as the status code.
REJECTEDstatus, but with
300as the input code:
descriptionthe error code that you want the payment to result to. For example, "302" will result in the payment being rejected with the error: "Insufficient Amount".
DIRECTcash payment methods can be tested by either forcing an approval (
PAID) or an expiration (
200, it means your
REJECTEDrequest is successful. Also this will trigger a notification with the new status.
payment_iddoesn’t exist, you will receive a
payment_idis not in
PENDINGstatus, you will receive a