Skip to content

Logo

Pay2Play

The Answer to One-stop eBusiness Solution. Grasp Business Opportunities in Cashless Transactions

Website: pay2play.cash

Set up Account

Step 1: Create Provider account

To create an account send connection request at the pay2play.cash or contact manager directly. Submit the required documents to verify your account and gain access.

Step 2: Get required credentials

Credentials that have to be issued:

  • User
  • Token

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

Press Connect at pay2play Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.

Connect

Enter credentials:

  • user → User
  • token → Token
  • pay2play_currency → choose currency (You can set these parameters according to available currencies and features for your Pay2Play wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)

Success

You have connected Pay2Play Provider account!

API examples:

Minimum data set to create a transaction

PAYMENT

POST /api/commerce/payment-invoices HTTP/1.1
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"card_transfer_rub_invoice",
      "commerce_account":"Hello_World",
      "currency":"RUB",
      "amount":100,
      "reference_id":"97bfeaba-0f1f-41fd-a55b-554c3def36be",
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "callback_url":"https:\/\/webhook.site\/corefy-hp-callback",
      "test_mode":false,
      "options":{
        "allow_partially":false
      },
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a transaction

PAYMENT

POST /api/commerce/payment-invoices HTTP/1.1
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"card_transfer_rub_invoice",
      "commerce_account":"Hello_World",
      "currency":"RUB",
      "amount":1000,
      "reference_id":"a66a43c4-c980-481c-bbb8-10f68814a5c4",
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"214644e6-a30e-48f6-ae1d-2aa2637df789"
      },
      "callback_url":"https:\/\/webhook.site\/corefy-hp-callback",
      "test_mode":false,
      "options":{
        "allow_partially":false
      },
      "service_fields":[
      ]
    }
  }
}

Question

"Still looking for help connecting your Pay2Play account?" Please contact our support team!