Get Payment Method
{{ data.payment.get(:id) }}
- Request Parameters
Parameter |
Type |
Description |
id required |
int |
Payment Method Identifier |
- Success Response
HHTP/1.1 200 OK
{
id: 5,
name: "Arca",
sellerId: 10,
sellerKey: "fdds45454",
sellerUsername: "1215545151",
sellerPassword: "password",
paymentGatewayId: 1,
paymentGatewayName: "Acba Bank",
icon: "http://cdn.storech.com/uploads/payment-method-icons/card.png"
}
or
false
- Response Parameters
Parameter |
Type |
Description |
id |
int |
Payment method identifier |
name |
string |
Payment method name |
sellerId |
int |
Seller identifier from contract |
sellerKey |
string |
Seller key from contract |
sellerUsername |
string |
Seller username from contract |
sellerPassword |
string |
Seller password from contract |
paymentGatewayId |
int |
Payment gateway identifier |
paymentGatewayName |
string |
Payment gateway provider name |
icon |
string |
Payment method photo |
Get Payment Methods List
{{ data.payment.list({}) }}
- Success Response
HTTP/1.1 200 OK
{
{
id: 5,
name: "Arca",
sellerId: 10,
sellerKey: "fdds45454",
sellerUsername: "1215545151",
sellerPassword: "password",
paymentGatewayId: 1,
paymentGatewayName: "Acba Bank",
icon: "http://cdn.storech.com/uploads/payment-method-icons/card.png"
}
...
}
or
[]
- Response Parameters
Parameter |
Type |
Description |
id |
int |
Payment method identifier |
name |
string |
Payment method name |
sellerId |
int |
Seller identifier from contract |
sellerKey |
string |
Seller key from contract |
sellerUsername |
string |
Seller username from contract |
sellerPassword |
string |
Seller password from contract |
paymentGatewayId |
int |
Payment gateway identifier |
paymentGatewayName |
string |
Payment gateway provider name |
icon |
string |
Payment method photo |