pichaya_om

Claim Link API POST

Aug 27th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.15 KB | None | 0 0
  1. POST Request
  2. Required Fields:
  3. -username
  4. - password
  5. - confirm_password
  6. - email
  7. - payment_order_id
  8. -----------------------
  9.  
  10. Recurring:
  11. student_info {
  12.  “first_name”: this.payment_fname,
  13.  “last_name”: this.payment_lname,
  14. “email_contact”: this.payment_email,
  15.  “tel_contact”: this.payment_phone,
  16.   “facebook_name”: this.payment_fb_name,
  17. }
  18.  
  19. Others
  20. “student_info”: {
  21.   “first_name”: this.payment_fname,
  22.   “last_name”: this.payment_lname,
  23.  “email_contact”: this.payment_email,
  24.  “tel_contact”: this.payment_phone,
  25.   “address_street”: this.payment_address, //not required for !need_address
  26.  “address_province”: this.payment_province, //not required for !need_address
  27.  “address_zipcode”: parseInt(this.payment_postcode) //not required for !need_address
  28. },
  29. “invoice”: null
  30.  
  31. invoice = {
  32.   “tax_name”: this.payment_tax_name,
  33.  “tax_code”: this.payment_tax_id,
  34.   “tax_address”: this.payment_tax_address,
  35.   “tax_address_delivery”: this.tax_address_select,
  36.  “tax_address_zipcode”: parseInt(this.payment_tax_postcode)
  37. }
  38.  
  39.  
  40. Response:
  41.    redirect_link: 'opendurian.com/toeic_krudew/wall',
Advertisement
Add Comment
Please, Sign In to add comment