Overview
Add, update, and delete your withdrawal bank accounts.
Add Withdrawal Account
Query Parameters
View full Request Header Parameters.
- Header
cURL -X POST /opc/v1/withdrawal-account/add
'Content-Type:multipart/form-data',
'Opccount-No:995149',
'Va-Code:9435762187450928365',
'Sign:ckQHqFTsawqHScEhxuovywiXTJMio9F0a62qdh/mIONvwWXzfdNFM4cl/2UN490VER64wmw18wOWsgHH/mKL7L+uu5jRQcLkYbwE5CfQEj6g2jHewa70b2zStZPes4DRrgRwLzK+vqwzdP0jifrRYbrB6qVjS8gD4RyGort/Ju1mfaVjJNgPlUWehDJPWPz5MAU/dRpB6ChX7IwjJm4cV/jUqZvOJMDqMov8H5kMyi7g0Jx7LVHIqx9O3Cjn+k+FASpJNNOnv7m5JjvdJkJYXgMC3pGK+uBc+hfHnc20piuz7KxDeQDtaAY9IXCWkPx8BcQaru1HMQgXmBicS85YkQ==',
'Timestamp:1694482115'
Add
View full Request Parameters.
- Resquest
-F 'bankHolder="test"' \
-F 'bankName="test"' \
-F 'bankAccount="test"' \
-F 'settlementNumber="12345678"' \
-F 'bankAddress="HKD"' \
-F 'province="NY"' \
-F 'city="NY"' \
-F 'zipcode="96801"' \
-F 'currency="USD"' \
-F 'type="1"' \
-F 'swiftCode="1"' \
-F 'beneficiaryMsisdn="+86138111111111"' \
-F 'fileList=@"/test.txt"' \
Response
View full Response Parameters.
- Response
{
"msg": "SUCCESS",
"code": "000"
}
Update Withdrawal Account
Query Parameters
View full Request Header Parameters.
- Update Withdrawal Account
cURL -X POST /opc/v1/withdrawal-account/edit
'Content-Type:multipart/form-data',
'Opccount-No:995149',
'Va-Code:9435762187450928365',
'Sign:ckQHqFTsawqHScEhxuovywiXTJMio9F0a62qdh/mIONvwWXzfdNFM4cl/2UN490VER64wmw18wOWsgHH/mKL7L+uu5jRQcLkYbwE5CfQEj6g2jHewa70b2zStZPes4DRrgRwLzK+vqwzdP0jifrRYbrB6qVjS8gD4RyGort/Ju1mfaVjJNgPlUWehDJPWPz5MAU/dRpB6ChX7IwjJm4cV/jUqZvOJMDqMov8H5kMyi7g0Jx7LVHIqx9O3Cjn+k+FASpJNNOnv7m5JjvdJkJYXgMC3pGK+uBc+hfHnc20piuz7KxDeQDtaAY9IXCWkPx8BcQaru1HMQgXmBicS85YkQ==',
'Timestamp:1694482115'
Update
- Use the unique account identifier
withdrawalAccountKeyto update your withdrawal account information.
- Resquest
-F 'bankHolder="test"' \
-F 'bankName="test"' \
-F 'bankAccount="test"' \
-F 'settlementNumber="12345678"' \
-F 'bankAddress="HKD"' \
-F 'province="NY"' \
-F 'city="NY"' \
-F 'zipcode="96801"' \
-F 'currency="USD"' \
-F 'type="1"' \
-F 'swiftCode="1"' \
-F 'beneficiaryMsisdn="+86138111111111"' \
-F 'fileList=@"/test.txt"' \
-F 'withdrawalAccountKey="1759747048153808896"' \
- View full Response Parameters.
Response
- Response
{
"msg": "SUCCESS",
"code": "000"
}
Delete Withdrawal Account
Query Parameters
View full Request Header Parameters.
- Delete Withdrawal Account
cURL -X POST /opc/v1/withdrawal-account/delete
'Content-Type:application/json',
'Opccount-No:995149',
'Va-Code:9435762187450928365',
'Sign:ckQHqFTsawqHScEhxuovywiXTJMio9F0a62qdh/mIONvwWXzfdNFM4cl/2UN490VER64wmw18wOWsgHH/mKL7L+uu5jRQcLkYbwE5CfQEj6g2jHewa70b2zStZPes4DRrgRwLzK+vqwzdP0jifrRYbrB6qVjS8gD4RyGort/Ju1mfaVjJNgPlUWehDJPWPz5MAU/dRpB6ChX7IwjJm4cV/jUqZvOJMDqMov8H5kMyi7g0Jx7LVHIqx9O3Cjn+k+FASpJNNOnv7m5JjvdJkJYXgMC3pGK+uBc+hfHnc20piuz7KxDeQDtaAY9IXCWkPx8BcQaru1HMQgXmBicS85YkQ==',
'Timestamp:1694482115'
Delete
- View full Request Parameters.
- Use the unique account identifier
withdrawalAccountKeyto delete the withdrawal account.
- Resquest
-d 'withdrawalAccountKey="1759747048153808896"' \
Response
- Response
{
"msg": "SUCCESS",
"code": "000"
}