Deposit using Scratch Card

Method: POST

URL:

https://v2api.circlepay.ph/deposit/scratchcard/
Post Fields

Content-Type: Multipart / Form-data

FieldsDescription
user_code
Provided by Circlepay
partner_tran_id
Partner transaction ID: Alphanumeric, Max 50 characters
card_code
Scratch card code
card_seri
Scratch card serial number
card_type
Scratch card type (eg. Viettel, Mobifone, Vinaphone)
amount
10000 - 3000000
acc_name
Customer name who making the deposit
username (Optional)
Customer username on partner system (For tracking purpose)
token
hash_hmac(‘sha256’,[user_code][partner_tran_id][bank_code][amount], the API Key) 
 *The API Key is provided by CirclePay
Response Data
FieldsDescription
error_code

00: Successful making the deposit request 01: Error with the input fields

error_message

Detail message for the error_code

data

Result (NULL if error) ⮞ partner_tran_id ⮞ tran_id ⮞ amount

Example Response
Example