Created
January 2, 2017 07:48
-
-
Save sidravic/6fb315a8c1c2110d6fdf5b99195e1cbf to your computer and use it in GitHub Desktop.
A list of error codes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
unauthorized: 'unauthorized', | |
token_based_subscription_create_service: { | |
create_error: 'create_error', | |
user_not_found: 'user_not_found', | |
merchant_not_found: 'merchant_not_found' | |
}, | |
subscription_charge_service: { | |
subscription_not_found: 'subscription_not_found', | |
insufficient_credit: 'insufficient_credit', | |
pending_dues: 'pending_dues', | |
user_unauthorized: 'user_unauthorized', | |
order_id_already_exists: 'order_id_already_exists', | |
transaction_amount_zero_error: 'transaction_amount_zero_error' | |
}, | |
transaction_eligibility_check_service: { | |
subscription_not_found: 'subscription_not_found', | |
merchant_not_found: 'merchant_not_found', | |
user_not_found: 'user_not_found' | |
}, | |
subscription_refund_service: { | |
subscription_not_found: 'subscription_not_found', | |
merchant_not_found: 'merchant_not_found', | |
user_not_found: 'user_not_found', | |
refund_amount_greater_than_transaction_amount: 'refund_amount_greater_than_transaction_amount', | |
invalid_transaction_token: 'invalid_transaction_token' | |
}, | |
token_verification_resend_otp_service: { | |
user_unauthorized: 'user_unauthorized', | |
invalid_subscription_verification: 'invalid_subscription_verification', | |
merchant_not_found: 'merchant_not_found', | |
invalid_subscription_verification: 'invalid_subscription_verification', | |
verification_not_found:'verification_not_found', | |
verification_expired: 'verification_expired', | |
exceeded_max_attempt_count: 'exceeded_max_attempt_count' | |
}, | |
token_verification_confirmation_service: { | |
user_not_found: 'user_not_found', | |
user_unauthorized: 'user_unauthorized', | |
merchant_not_found: 'merchant_not_found', | |
verification_not_found: 'verification_not_found', | |
invalid_subscription_verification: 'invalid_subscription_verification', | |
verification_expired: 'verification_expired', | |
exceeded_max_attempt_count: 'exceeded_max_attempt_count', | |
otp_code_does_not_match: 'otp_code_does_not_match' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment