Capability API

Capability API จะช่วยเรียกข้อมูลเฉพาะของบัญชีผู้ใช้ ตัวอย่างเช่น บัญชีธนาคารที่สามารถเพิ่มเพื่อรอรับเงินโอนออกได้, ยอดที่จำกัดไว้สำหรับการรับชำระเงินและการโอนเงิน รวมไปถึงช่องทางรับชำระเงินทั้งหมดที่มีการเปิดใช้งานเอาไว้

หมายเหตุ: การเรียกดูข้อมูลในส่วนนี้จะต้องมีการยืนยันตัวตนด้วย public key

Attributes

Name Type Description
object string

The string capability.

location string

API path to retrieve the current capability object.

banks array

Banks supported for transfer recipients.

country string

Country in which account is registered as two-letter ISO 3166 code.

limits object

Defines the min/max charge amount as well as the installment amount that merchants can process.

payment_methods array

Available payment methods and allowed values.

tokenization_methods array

Lists the methods of card tokenization. The methods at present are:

  • googlepay - card tokenized by GooglePay

  • null - tokenized by Opn

zero_interest_installments boolean

Whether merchant absorbs interest for installment payments.

Example

  • JSON Response

Retrieve account capabilities

- GET https://api.omise.co/capability

Returns information about the account capabilities. Note: this verb accepts public key authentication only.

Example

  • Retrieve the account capability

เว็ปไซต์นี้มีการใช้คุกกี้เพื่อวิเคราะห์การใช้และปรับการใช้งานให้เหมาะกับท่าน เมื่อกดยอมรับหรือยังคงเข้าชมเว็บไซต์ต่อ เราถือว่าท่านยินยอมในการใช้งานคุกกี้ของเว็บไซต์ อ่านนโยบายความเป็นส่วนตัว