Skip to main content

POST v3/refund

CodeMessageHTTP Status
30000Invalid payin_id, should have prefix ‘chk_’ or ‘esc_’ and should be followed by valid xid400
30001Invalid payment_attempt_id, should have prefix ‘pat_’ and should be followed by valid xid400
30002Field must have a value greater than 0400
30004Please provide a valid source400
30005Please provide a valid webhook URL400
30006Field payment_attempt_id is missing, please provide a valid id with prefix ‘pat_’ and should be followed by valid xid400
30007Request params are missing, please provide either ‘payin’ or ‘payment_attempt’400
30008Can not initiate refunds for payin which has multiple payment attempts400
30009Can not initiate refund for unsuccessful payment attempt, refund can be requested only on succeeded payment attempts.409
30010Refund is already completed for the requested payment attempt400
30011Refunds cannot be initiated for this payment attempt. Reach out to support@tazapay.com for further assistance with refunds.400
30012The requested refund amount exceeds the total paid amount of the payment attempt, taking into account any previous refunds.400
30014Refund can’t be processed as the buyer phone number isn’t present.400
30015Invalid refund reason, please provide a valid reason400
30016Collect object can not be refunded. Reach out to support@tazapay.com for further assistance with refunds.400
30017Your account is currently not authorized to initiate refunds. Reach out to support@tazapay.com for further assistance with refunds.400
30019Please provide customer details with email, customer details are required for refund processing.400
30020Your account is currently not authorized to initiate refunds for this payment method. Reach out to support@tazapay.com for further assistance with refunds.400
30021Partial refund not supported for this payment method. Please provide full amount or reach out to support@tazapay.com for further assistance with refunds.400
30022Requested refund amount is below the minimum limit for this payment method.400
30027Refunds are not allowed for transactions older than the allowed period for this payment method.400
31001User is not authorized to perform this action403
31003You are not allowed to perform this action since your account is in Dormant status.400
31004You are not allowed to perform this action since your account is in Terminated status.400