Skip to main content

Verify Bank Card Payout Eligibility

Overview

The Verify Bank Card Payout Eligibility API validates whether a bank card meets the requirements for payout operations. This endpoint allows merchants to check card eligibility before initiating transfer requests, helping ensure successful payout transactions.

Endpoint Information

UAT Environment: https://uat.test2pay.com/sgs/api/transfer/verifyBankCardPayoutEligibility

Production Environment: https://api.payby.com/sgs/api/transfer/verifyBankCardPayoutEligibility

HTTP Method: POST

Request Parameters

HTTP Headers

Field NameVariable NameRequiredTypeExampleDescription
Content LanguageContent-LanguageOptionalString(10)enLanguage for response content. Use "en" for English
SignatureSignRequiredString-Request signature for authentication
Partner IDPartner-IdRequiredString(12)-Merchant identifier

HTTP Body

Field NameVariable NameRequiredTypeExampleDescription
Request TimerequestTimeRequiredTimestamp(3)1581493898000Unix timestamp in milliseconds
Business ContentbizContentRequiredVerifyBankCardPayoutEligibilityRequest-Main request payload containing card verification details

VerifyBankCardPayoutEligibilityRequest

Field NameVariable NameRequiredTypeExampleDescription
Card NumbercardNumberRequiredString(50)-Encrypted card number for verification. Must be 12-19 numeric characters when decrypted

Request Sample

// Http Header
{
"Content-Language": "en",
"Content-Type": "application/json",
"Partner-Id": "200000018128",
"sign": "S5Wr6x9Po1SX3nm4kRJyTueUMbnmsPGMlMjc3PcoyNyP0G5BuRAwauYjTJLeto6Bu1+893zCGmj201mjrvcXP4v/uMzQxRav5PBMp9VuQ+3dOFGclQAwr8cFAKuBDHhGAAkw1iVpdC8ZZLGl/jRUv3PCiZh6VyOLnrK7ZIevB/TetQSzCmN1xDIQo8mpDYz7YY/jSzYBnD17ePvkr4qQOWNUh7FF2nd29lo9KOQl5tJVoqT/D+PVSlZeuGr+wxBYCAyGqbVXXSAGcwF1egF6ISLJ29jpHcX/LACXxF/uf5cdzbudwPB2X0wtRw9WnowY3RUq34sidoF4DIShXVFHAg=="
}

//Http Body
{
"bizContent": {
"cardNumber": "N1J8gXNPwwqB6B+VeEDBl+bzZt0PHUZYBJvroOD5oWikMlY8a4YFCwDNbY4T/xCLfNzIQ/3fWl2flEp7bIHvt/wFliXBqYXwFIfg532CHD2ghGz8IZ6/19wU1RcGXc7g1C3MS9sCRwP8PubGd3UxaOuUxaE8Q/oKFaKm5ZcBucmZVH5skttFUPETnMyhfhNr2X2v8L34Cr2CVb5tx2x1RD80DFI76fO7OF4VFhWUVF/Jl2N/hecI6iJZ2WIGh6Wkp7wENIydKjJxUdERqE4316SOwSFKZvowpQ4Mmh8pv6lmXHgIZmkASdG+JqdmBTSlNQQOdyiiwwpptIUn7vHXEQ=="
},
"requestTime": 1741917297160
}

Response Parameters

HTTP Headers

Field NameVariable NameRequiredTypeExampleDescription
Content LanguageContent-LanguageOptionalString(10)enLanguage for response content. Use "en" for English
SignatureSignRequiredString-Response signature for verification
Partner IDPartner-IdRequiredString(12)-Merchant identifier

HTTP Body

Field NameVariable NameRequiredTypeExampleDescription
Response HeaderheadRequiredResponseHeader-Standard response header containing status information
Response BodybodyOptionalVerifyBankCardPayoutEligibilityResponse-Card verification result details

VerifyBankCardPayoutEligibilityResponse

Field NameVariable NameRequiredTypeExampleDescription
Card Payout TypecardPayoutsTypeRequiredCardPayoutsTypeSTANDARDIndicates the payout capability of the verified card

CardPayoutsType Values

CodeDescription
UNKNOWNCard payout capability cannot be determined
NOT_SUPPORTEDCard does not support payout operations
FAST_FUNDSCard supports expedited payout processing
STANDARDCard supports standard payout processing

Response Sample

{
"body": {
"cardPayoutsType": "STANDARD"
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"success": true,
"traceCode": "268991"
}
}

Response Codes

CodeMessageCauseWorkaround
0SUCCESSRequest processed successfully-
400INVALID_PARAMETERInvalid request parametersReview and correct request parameters
400REQUESTTIME_TOO_EARLYRequest timestamp is too far in the pastAdjust request time to current timestamp
400REQUESTTIME_TOO_LATERRequest timestamp is too far in the futureAdjust request time to current timestamp
402RATE_LIMIT_REJECTRequest rate limit exceededReduce request frequency
403UNAUTHORIZEDAPI access not authorizedContact PayBy for authorization
404SERVICE_NOT_AVAILABLEAPI service unavailableContact PayBy support
500SYSTEM_ERRORInternal system errorContact PayBy support and retry later
504SERVICE_TIMEOUTService request timeoutRetry the request after some time
601RISK_FAILRisk control validation failedReview business parameters and compliance
62103QUERY_API_UNAVAILABLEQuery API temporarily unavailableRetry the request later
62105INVALID_DATA_SENTInvalid data sent to retrieve APIReview and correct request parameters